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

Ilya Buziuk (JIRA) issues at jboss.org
Tue Dec 9 04:42:40 EST 2014


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

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

< is it possible for us to automatically correct the URL in the config.xml so that it just "works out of the box"? At this moment, the average end-user won't think to go look in that location.
[~burrsutter], in order to correct url (add parameter) we need to know whether the local server is running and on which port. Basically the app works OOTB but with *remote* server and IMO it's totally fine. If end-user would like to use local server rather then remote one they will need to run server manually from the console anyways. Once they do it they will need just to add the parameter to the url. 
Probably, it's possible to automate this process but for now I haven't got a foggiest idea of how do it in a neat way.
[~gercan], I do believe this ^ is a good topic to discuss on today's Californication.

> 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: Burr Sutter
>             Fix For: 4.3.0.Alpha1
>
>         Attachments: configuration.png, hello_tom.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.8#6338)


More information about the jbosstools-issues mailing list