[
https://issues.jboss.org/browse/JBIDE-18900?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-18900:
---------------------------------------------
My understanding is that the parameter named "url" is specific for FeedHenry,
thus not something that would be reusable per say for any app...
As is now you *can* do this for any app - manually.
I'm not seeing how we can handle it better more generically. It is similar to GWT
local dev mode launches - requires specific app fwk knowledge in the tools.
The simplest thing I can see is we can do (if anything) is to implement a "CordovaSim
w/FeedHenry" launchshortcut
(
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc....)
that could be enabled only for hybrid projects, and try detect if local server is running
- if yes, add the config parameter - if no just launch normally.
Another approach - but this would a very weird coupling would be our cordovasim proxy
server could inject this parameter if it detects the feedhenry server is running ...but I
really would prefer not to do this option...too magical.
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)