[
https://issues.jboss.org/browse/JBIDE-14083?page=com.atlassian.jira.plugi...
]
Yahor Radtsevich edited comment on JBIDE-14083 at 5/7/13 5:30 AM:
------------------------------------------------------------------
[~maxandersen]: [~gercan]:
From what I read in the documentaion and in the examples which come
with [PhoneGap
2.6.0|http://phonegap.com/download/], it could be tricky to use it to
determine root folder and start page for several reasons (correct me if I am wrong):
# config.xml is not required to be present (it could be omitted even in real life
projects)
# The location of the config.xml file is different depending on the project type, and this
location does not tell us what is the root folder:
|| ||config.xml||root folder||
|Android|<project folder>/res/xml/config.xml|<project folder>/assets/www/|
|Blackberry|<project folder>/www/config.xml|<project folder>/www/|
|iOS|<project folder>/<appname>/config.xml|<project folder>/www/|
|Aerogear Hybrid|<project folder>/www/config.xml|<project folder>/www/|
# The root folder is not specified in the config.xml
was (Author: yradtsevich):
[~maxandersen]: [~gercan]:
From what I read in the documentaion and in the examples which come
with [PhoneGap
2.6.0|http://phonegap.com/download/], it could be tricky to use it to
determine root folder and start page for several reasons (correct me if I am wrong):
# config.xml is not required to be present (it could be omitted even in real life
projects)
# The location of the config.xml file is different depending on the project type, and this
location does not tell us what is the root folder:
|| ||config.xml||root folder||
|Android|<project folder>/res/xml/config.xml|<project folder>/assets/www/|
|Blackberry|<project folder>/www/config.xml|<project folder>/www/|
|iOS|<project folder>/<appname>/config.xml|<project folder>/www/|
|Aerogear Hybrid|<project folder>/<appname>/config.xml|<project
folder>/www/|
# The root folder is not specified in the config.xml
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