Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83E2CCCC8 for ; Thu, 20 Jun 2013 01:19:21 +0000 (UTC) Received: (qmail 30510 invoked by uid 500); 20 Jun 2013 01:19:21 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 30499 invoked by uid 500); 20 Jun 2013 01:19:21 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 30486 invoked by uid 99); 20 Jun 2013 01:19:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 01:19:21 +0000 Date: Thu, 20 Jun 2013 01:19:21 +0000 (UTC) From: "Filip Maj (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-2987) Add a ./cordova/lib/install-emulator project-level helper script to OSX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-2987: -------------------------- Issue Type: Improvement (was: Sub-task) Parent: (was: CB-2980) > Add a ./cordova/lib/install-emulator project-level helper script to OSX > ----------------------------------------------------------------------- > > Key: CB-2987 > URL: https://issues.apache.org/jira/browse/CB-2987 > Project: Apache Cordova > Issue Type: Improvement > Components: OSX > Reporter: Filip Maj > Assignee: Shazron Abdullah > Fix For: 2.9.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-2971] to determine this). If so, target the first one, otherwise continue. > # Are there any emulator images available to start? (use {{list-emulator-images}} [CB-2954] to determine this). If so, call {{start-emulator }} [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