incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <>
Subject [jira] [Commented] (CB-663) project ./cordova folder scripts
Date Wed, 16 May 2012 20:11:10 GMT


Jesse MacFadyen commented on CB-663:

Is there any documentation on how this should work 'exactly'?
The iOS version of 'debug' seem to be able to build any project via args, is this a requirement?
or because the template includes the scripts, can it just build the project that is in?
ie. Should I be able to navigate to the folder that contains A.xcodeproj and build B.xcodeproj
which is somewhere else on the file system?

For WP7 I have had to write a command line application in order to install and launch the
app on a device or emulator, should this exe be copied over for every project I create?
OR do I need to write an installer to place it in a specific location that I can depend on?
OR can I assume the user has added it to their path, and simply fail if I cannot launch it?

In order to capture console messages from the device or emulator, I have to open a TCP socket
in the command line app, and listen for messages passed back to echo them.
This means that the application being logged has to include code to open the socket and write
data back to it, which seems like a lot of overhead as the emulator or device does not know
the hostname of the machine that launched it, so this data needs to be passed in via Isolated

As it is, I have all the pieces working, just need to know how exactly to put them together.

> project ./cordova folder scripts 
> ---------------------------------
>                 Key: CB-663
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: WP7
>            Reporter: Shazron Abdullah
>            Assignee: Jesse MacFadyen
>             Fix For: 1.8.0
> inside a generated project ./cordova folder contains scripts for the following functionality:
> debug: compiles app and launches it on first available emulator or device
> emulate: launches default emulator
> log: attaches console.log statements to STDOUT
> these three script exist today in generated ios and android projects; pls ensure they
work w/ latest

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message