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

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Fri Apr 19 10:45:55 EDT 2013


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

Yahor Radtsevich commented on JBIDE-14083:
------------------------------------------

[~maxandersen]: I mean the drop down menu at the green Run button (it is the same as Menu>Run>Run History).
The reason why I want to have the launch parameters generated at the creation time is that I want to make Launch Configuration to be independent of the project type. I want to allow to use this Launch Configuration not only for HybridAppNature projects, but also for Android and Web projects without HybridAppNature, and for individual html files.

This will also make this Launch Configuration easier to maintain and extend. The CordovaSim plugin will not have to know about existence HybridAppNature or Android natures, it will just provide a standard way to launch CordovaSim. Any plugin will be able to provide its own Launch Shortcut for it.

[~gercan]: Personally for me it is clear that if a launch configuration opens a wrong file after a change in file names, thеn something is wrong in the launch configuration. Actually it will be the only place where the CordovaSim parameters could be changed.
                
> 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