You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Benn Mapes (JIRA)" <ji...@apache.org> on 2013/04/19 21:33:16 UTC

[jira] [Resolved] (CB-2981) Add a ./cordova/lib/install-emulator project-level helper script to Android

     [ https://issues.apache.org/jira/browse/CB-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benn Mapes resolved CB-2981.
----------------------------

    Resolution: Fixed

Bash:
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=4dee30ed848286dd3e51c2848c54adc5805613f8
JScript:
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=4599e9897dcbcf4b14bfe0fc0f530d4509f90500
                
> Add a ./cordova/lib/install-emulator project-level helper script to Android
> ---------------------------------------------------------------------------
>
>                 Key: CB-2981
>                 URL: https://issues.apache.org/jira/browse/CB-2981
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Android
>            Reporter: Filip Maj
>            Assignee: Benn Mapes
>             Fix For: 2.7.0
>
>
> {code}
> install-emulator [--target=id]
> {code}
> Installs a build of the app to an available emulator.
> If {{--target}} is specified, attempts to install the app to the emulator identified by {{id}}. If the attempt fails, the script will error out with an appropriate error message and exit with code 2.
> If no {{--target}} is specified, follows this multi-device flow:
>  # Are there any actual emulators available, i.e. started/running? (use {{list-started-emulators}} [CB-2965] to determine this). If so, target the first one, otherwise continue.
>  # Are there any emulator images available to start? (use {{list-emulator-images}} [CB-2950] to determine this). If so, call {{start-emulator <id>}} [TODO: issue ref] of the first available image, wait for it to become ready, then target it. If no, continue.
>  # Print an error message and exit with code 2.
> If the application is not compiled/built yet, the script will error out with an appropriate error message and exit with code 2.
> If the functionality is not implementable, the script should print out an appropriate error message and exit with code 1.

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