[jbosstools-issues] [JBoss JIRA] (TOOLSDOC-412) NeedInfo: How do Hybrid Mobile Tools and CordovaSim work?

Michelle Murray (JIRA) jira-events at lists.jboss.org
Fri Nov 8 01:18:01 EST 2013


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

Michelle Murray commented on TOOLSDOC-412:
------------------------------------------

I wrote:
{quote}
In the Run Configurations manager:
* for CordovaSim, what do the "root folder" and "server port" fields do? why would a user want to change these?
* for Android, what does the "log filter" field do?
{quote}

Ilya wrote:
{quote}
1.      CordovaSim, what do the "root folder" and "server port" fields do? why would a user want to change these?
The “Root folder” field specifies the  root folder of the hybrid project contains the global files for all platforms. By default it’s “www” folder. I guess, changing the “root folder” of the app is an edge case, cause by convention  “www” folder is  precisely the root folder of the hybrid projects. So, if there is no “www” folder in the project  the error popup will be shown (Cannot find root folder or start page. Please specify them in the Run Configuration settings) after trying to run the hybrid app via CordovaSim. In the Run configuration setting user can choose any root folder  –  CordovaSim will treat it as a folder with all global files and host it. The same story with the “Start page” field (by default and convention it’s index.html, but technically it can be any .html file).
By default CordovaSim (jetty server) will use random available port to host the application on. However, “Server port” field provides a possibility of specifying the concrete port by filling the “Port” input field.  
The Ripple emulator also provides opportunities of specifying the root folder of the app and the port for hosting the app on.
{quote}

Gorkem wrote:
{quote}
log filter is what is passed to the android’s logcat  tool [1] We capture the output from logcat to eclipse console and filter makes the output manageable without filters there is too much output. The default value for the filter tries to capture the output from Cordova components. 
[1] http://developer.android.com/tools/help/logcat.html
{quote}
                
> NeedInfo: How do Hybrid Mobile Tools and CordovaSim work?
> ---------------------------------------------------------
>
>                 Key: TOOLSDOC-412
>                 URL: https://issues.jboss.org/browse/TOOLSDOC-412
>             Project: Documentation for JBoss Tools and Developer Studio
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: User Guide - CordovaSim, User Guide - Hybrid Mobile Tools
>    Affects Versions: 4.1.1
>            Reporter: Michelle Murray
>            Assignee: Michelle Murray
>             Fix For: 4.1.1
>
>
> A JIRA in which to discuss how Hybrid Mobile Tools and CordovaSim work. 

--
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