Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 830D210CC9 for ; Thu, 21 Nov 2013 04:00:00 +0000 (UTC) Received: (qmail 56904 invoked by uid 500); 21 Nov 2013 03:59:59 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 56885 invoked by uid 500); 21 Nov 2013 03:59:55 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 56877 invoked by uid 99); 21 Nov 2013 03:59:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Nov 2013 03:59:54 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of v-segreb@microsoft.com designates 207.46.163.206 as permitted sender) Received: from [207.46.163.206] (HELO na01-bl2-obe.outbound.protection.outlook.com) (207.46.163.206) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Nov 2013 03:59:47 +0000 Received: from BL2PR03MB338.namprd03.prod.outlook.com (10.141.68.18) by BL2PR03MB337.namprd03.prod.outlook.com (10.141.68.16) with Microsoft SMTP Server (TLS) id 15.0.820.5; Thu, 21 Nov 2013 03:59:11 +0000 Received: from BL2PR03MB338.namprd03.prod.outlook.com ([10.141.68.18]) by BL2PR03MB338.namprd03.prod.outlook.com ([10.141.68.18]) with mapi id 15.00.0820.005; Thu, 21 Nov 2013 03:59:11 +0000 From: "Sergey Grebnov (Akvelon)" To: "dev@cordova.apache.org" Subject: [For discussion] windows8 and run/emulate commands meaning Thread-Topic: [For discussion] windows8 and run/emulate commands meaning Thread-Index: Ac7mbhsMp6xM0qRxSty6HOq2eJpwHw== Date: Thu, 21 Nov 2013 03:59:11 +0000 Message-ID: <11313d38d2754b53ae7adfda67a0a3de@BL2PR03MB338.namprd03.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.26.0.97] x-forefront-prvs: 0037FD6480 x-forefront-antispam-report: SFV:NSPM;SFS:(189002)(199002)(46102001)(80976001)(16236675002)(76786001)(74876001)(47446002)(31966008)(15975445006)(81816001)(76176001)(74706001)(76576001)(81542001)(81342001)(74502001)(74662001)(76796001)(83072001)(74316001)(54356001)(51856001)(65816001)(74366001)(19300405004)(53806001)(69226001)(83322001)(76482001)(4396001)(81686001)(19580395003)(47736001)(80022001)(85306002)(15202345003)(33646001)(47976001)(54316002)(59766001)(87936001)(77982001)(87266001)(66066001)(63696002)(49866001)(79102001)(56776001)(50986001)(56816003)(2656002)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:BL2PR03MB337;H:BL2PR03MB338.namprd03.prod.outlook.com;CLIP:217.26.0.97;FPR:;RD:InfoNoRecords;MX:1;A:1;LANG:en; Content-Type: multipart/alternative; boundary="_000_11313d38d2754b53ae7adfda67a0a3deBL2PR03MB338namprd03pro_" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_11313d38d2754b53ae7adfda67a0a3deBL2PR03MB338namprd03pro_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Cordova cli provides the following three options to execute your app from t= he shell: * run --emulator (or emulate) - to run the app on emulator * run --device - app will be executed on the connected device * run --target - same as above, but you specify particular device Right now the only known method to programmatically start Windows Store app= is to start it locally right on your system. Windows8 platform is special = since you technically build your app right on the target platform/device. D= ue to this I propose to treat both run/emulate commands for Windows8 platfo= rm as running app locally. Motivation: 1. People actively use both run and emulate commands so it will be gr= eat to somehow support them both. 2. Right now we only know how to start app locally. Not sure we will = be able to implement other options in the near future. If we find the way t= o support additional options we will change run/emulate meaning later. Thoughts? Additional details When you are working with Windows Store app in Visual Studio there are the = following three options to test your app * Local Machine - app will be run right on your local system o easy to automate from command prompt o https://github.com/sgrebnov/cordova-windows/commit/7577a589766e14c2e267= 4ffb5a8081a308a743be * Emulator - starts Windows RT emulator o at present time I don't have solution to do the same from command line,= continue research.. * Remote Machine - app will be run on remote machine (you should sp= ecify target machine ip address + install special software on remote machin= e - VS Remote Debugging Tools) o looks like we won't be able to support this option in the near future s= ince it is very complex Thx! Sergey --_000_11313d38d2754b53ae7adfda67a0a3deBL2PR03MB338namprd03pro_--