[jbosstools-issues] [JBoss JIRA] (JBIDE-18900) CordovaSim: Can't run default FeedHenry app locally

Ilya Buziuk (JIRA) issues at jboss.org
Mon Jan 12 08:00:52 EST 2015


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

Ilya Buziuk commented on JBIDE-18900:
-------------------------------------

[~maxandersen], 
1.  {quote} And if we remove this flag where will I as a user be able to customize the launch to support things like feedhenry without requiring custom plugins ? {quote}
my point is that user should do all development according to the docs and the only way to define a start page with all parameters for cordova app is via the "content" tag (So, why should we allow to edit it via launch config?)
{quote}it is not ambigious if it by default will take the value from config.xml (i.e. when user have not edited it the alunch config has no value and thus will take what is in the config.xml) {quote}
yes but when the launch is been edited than it becomes ambiguous, especially when we do it programmatically (FH case). 

2. < ignores what is in this start value
Sorry, can't get this :-( (start value = either content tag or value from launch ui depending on user prefs ?)

3. {quote}so this is a new launch type. That would live in aerogear-feedhenry codebase, not cordovasim {quote}
precisely - it would be fully decoupled.
{quote} You'll have the same issue here with not being able to run both server and local launch won't you ? {quote}
No problems I guess. There will be only one launch shortcut "Run CordovaSim \wFeedHenry" and using local server could be triggered in the configuration - http://screencast.com/t/cFNqkVbk7ji

> CordovaSim: Can't run default FeedHenry app locally
> ---------------------------------------------------
>
>                 Key: JBIDE-18900
>                 URL: https://issues.jboss.org/browse/JBIDE-18900
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cordovasim
>    Affects Versions: 4.2.1.Final
>            Reporter: Ilya Buziuk
>            Assignee: Ilya Buziuk
>             Fix For: 4.3.0.Alpha1
>
>         Attachments: configuration.png, cordovasimFH.png, hello_tom.png, newLaunch.png, preferences.png, ToolsProject-Cloud-App.zip, ToolsProject-Cordova-App.zip
>
>
> Basically, the situation is the following: 
> 1. *ToolsProject-Cordova-App.zip* - is a basic FH hybrid app (all the app does is saying Hello + 'username' from the input field )
> 2. To run this app one simply needs to unpack the archive and import it as a cordova project to the studio
> 3. The application will work with a *remote* server like a charm !hello_tom.png|thumbnail!
> 4. However, there is an option to use *local* server instead of *remote* one
> 5. *ToolsProject-Cloud-App.zip* - is a app for running local server via grunt task runner
> 6. In order to run local server one needs:
> - unpack the app
> - run *npm install .*
> - run *grunt serve*
> Need to find the way to made CordovaSim use this *local* server



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list