[
https://issues.jboss.org/browse/JBIDE-14083?page=com.atlassian.jira.plugi...
]
Gorkem Ercan commented on JBIDE-14083:
--------------------------------------
[~maxandersen] The location of the config.xml is complex because it has two logical
locations. It has a development time location and a runtime location. For phonegap,
[
cordova-cli|https://github.com/apache/cordova-cli] and our tools at the development time
config.xml is under the www directory (by the way www is a fixed name on all these tools
as well). When these tools build for target they actually copy (for most platforms it is
also massaged a bit too) the config.xml to the target platform's assumed location so
that it is consumed at the runtime..
Unfortunately making assumptions about the location of the config.xml and the root folder
requires you to know what you are running against. If it is our tools, cordova-cli,
phonegap then config.xml is on the www directory (there is an ongoing
[
work|https://github.com/apache/cordova-cli/commit/740ff28d73e0275a47cb16f...]
to change that as well). If it is one of the native platforms then it differs per platform
as can be seen from [~yradtsevich]'s table above.
CordovaSim: create a launch configuration
-----------------------------------------
Key: JBIDE-14083
URL:
https://issues.jboss.org/browse/JBIDE-14083
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: browsersim
Reporter: Yahor Radtsevich
Assignee: Yahor Radtsevich
Fix For: 4.1.0.Beta1
Attachments: icd-draft-1.png
Launch configurations is the conventional way to run applications in Eclipse. The idea of
the feature proposal is to create a specific launch configuration allowing to run Cordova
enabled projects in CordovaSim.
The launch configuration might have the following attributes:
# Root folder (e.g. {{/myProject/www}})
# Start page (e.g. {{index.html}})
# Port number for embedded Jetty server (e.g. {{4400}}). This port will be visible in the
BrowserSim address bar.
The launch configuration might be automatically configured for:
# Projects with the JBoss Tools Cordova nature which has {{www/index.html}}.
# Projects with the Android nature which has {{assets/www/index.html}}.
# Any {{.html}} file selected by the user.
# Any folder selected by the user if it has an {{index.html}} in it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira