[jbosstools-issues] [JBoss JIRA] (JBIDE-14083) CordovaSim: create a launch configuration

Gorkem Ercan (JIRA) jira-events at lists.jboss.org
Thu Apr 18 13:10:54 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768561#comment-12768561 ] 

Gorkem Ercan commented on JBIDE-14083:
--------------------------------------

I am not suggesting different Launch Configuration UIs. We should just have the option that if a launch configuration is created for a Cordova aware project, such as the Mobile Hybrid Projects, developer should not worry about the start page or root directory (they are managed by the project). 

Prefilling the values for Mobile Hybrid Projects is not enough, because this project type gives the option to change the start page and the launch configuration should not be left behind with an invalid value. Java launch configs for instance do update if the name of the class is changed. I think CordovaSim launch config should pick up the start page at each launch. We can give an option to override that value so that it does not get picked up but it should not be the default.

As a note, I do not think we should consider Android projects as Cordova aware.



                
> 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


More information about the jbosstools-issues mailing list