[
https://issues.jboss.org/browse/JBIDE-14083?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-14083:
---------------------------------------------
[~gercan] the idea is that instead of having forced explicit configuration for the launch
config we would simply just point the launch config on a config.xml and from that file it
would calculate the root (<parent>/config.xml) and pickup the root page from
config.xml.
If projects has some other custom setup they can use a launch shortcut to set specific
values for root and index page.
But that assumes config.xml is always in <rootfolder>/config.xml and that config.xml
is what will list (in case index.html is not the right one) the proper root page.
With the above cordovasim does not need any custom knowledge of aerogear - even if you or
user changes www to myweb it will still "just work" wether you launch it on a
hybrid, android or ios folder.
Is that too much to assume ?
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