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 DB31410C57 for ; Wed, 6 Nov 2013 22:33:53 +0000 (UTC) Received: (qmail 23876 invoked by uid 500); 6 Nov 2013 22:33:53 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 23839 invoked by uid 500); 6 Nov 2013 22:33:53 -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 23831 invoked by uid 99); 6 Nov 2013 22:33:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 22:33:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of v-segreb@microsoft.com designates 207.46.163.211 as permitted sender) Received: from [207.46.163.211] (HELO na01-bl2-obe.outbound.protection.outlook.com) (207.46.163.211) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 22:33:49 +0000 Received: from BY2PR03MB345.namprd03.prod.outlook.com (10.141.139.11) by BY2PR03MB346.namprd03.prod.outlook.com (10.141.139.15) with Microsoft SMTP Server (TLS) id 15.0.785.10; Wed, 6 Nov 2013 22:33:09 +0000 Received: from BY2PR03MB345.namprd03.prod.outlook.com ([10.141.139.11]) by BY2PR03MB345.namprd03.prod.outlook.com ([10.141.139.11]) with mapi id 15.00.0785.001; Wed, 6 Nov 2013 22:33:09 +0000 From: "Sergey Grebnov (Akvelon)" To: "dev@cordova.apache.org" Subject: RE: Platforms which are in subdirectory in repositories can't be added by cli since 3.1.0-0.2.0 Thread-Topic: Platforms which are in subdirectory in repositories can't be added by cli since 3.1.0-0.2.0 Thread-Index: Ac7bGcd1M9KlKJ//TuGLXQcIFq9JbAAA1gWAAACGxUAAANyfAAAAj/IAAAZ4zhA= Date: Wed, 6 Nov 2013 22:33:08 +0000 Message-ID: References: <539cdbb697c44b73b4ef9dbed7582ca5@DBXPR03MB159.eurprd03.prod.outlook.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [109.60.213.117] x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM;SFS:(24454002)(51704005)(377454003)(13464003)(199002)(189002)(33646001)(47446002)(74502001)(50986001)(47736001)(49866001)(74366001)(47976001)(69226001)(74662001)(81542001)(85306002)(80976001)(54316002)(16601075003)(81816001)(81686001)(79102001)(19580395003)(19580405001)(59766001)(77982001)(83072001)(15975445006)(83322001)(56776001)(2656002)(81342001)(76576001)(76796001)(76786001)(56816003)(74876001)(53806001)(54356001)(51856001)(74316001)(66066001)(31966008)(15202345003)(46102001)(63696002)(87266001)(80022001)(65816001)(74706001)(76482001)(4396001)(87936001)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:BY2PR03MB346;H:BY2PR03MB345.namprd03.prod.outlook.com;CLIP:109.60.213.117;FPR:;RD:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com X-Virus-Checked: Checked by ClamAV on apache.org Just a note, I've sent similar fix for this issue as per of CB-5183 WP7/8 l= ib path is not correctly resolved by CLI. (a day ago) https://github.com/apache/cordova-cli/pull/68 I've reviewed Maxime's changes and they look good for me (except windows81= part which probably should be delayed) so I'm totally ok with merging any = PR (my or Maxime). =20 PS. There was previously similar path rsolving logic in src/platform.js which w= as removed as per the following changes https://github.com/apache/cordova-cli/commit/d75c0585c88ee9283db400f0c94602= 7bd9d6e1ea=20 - var bin =3D path.join(cordova_util.libDirectory, target, id, v= ersion, 'bin', 'create'); - if(target =3D=3D 'wp7') { - bin =3D path.join(cordova_util.libDirectory, 'wp', id, ver= sion, 'wp7', 'bin', 'create'); - } - else if(target =3D=3D 'wp8') { - bin =3D path.join(cordova_util.libDirectory, 'wp', id, ver= sion, 'wp8', 'bin', 'create'); - } - else if(target =3D=3D 'windows8') { - bin =3D path.join(cordova_util.libDirectory, 'windows8', i= d, version, 'windows8', 'bin', 'create'); - } Thx! Sergey -----Original Message----- From: Jesse [mailto:purplecabbage@gmail.com]=20 Sent: Wednesday, November 6, 2013 11:18 PM To: dev@cordova.apache.org Subject: Re: Platforms which are in subdirectory in repositories can't be a= dded by cli since 3.1.0-0.2.0 A few things: I cannot find a record of a signed CLA for Maxime Luce. I expect to see Maxime listed here: https://people.apache.org/committer-index.html The Windows 8.1 stuff should not be pulled in it's current state. 8.1 shoul= d not be a new platform, but an update to 8.0. I plan to do this for 3.3.0 The subfolder changes to the cli should not be required, this was all worki= ng, but there may have been a regression at some point, or something is out= of sync between the published version of the platforms and the cli. @purplecabbage risingj.com On Wed, Nov 6, 2013 at 11:02 AM, Braden Shepherdson wr= ote: > There is existing special handling for blackberry10 scattered=20 > throughout the lazy-loading code. This will probably conflict with=20 > Maxime's changes and end in a path ending=20 > .../blackberry10/blackberry10. I'm not certain though, testing is require= d. > > I've attached the log of the failed tests. > > Braden > > > On Wed, Nov 6, 2013 at 1:50 PM, Maxime LUCE wrote: > > > Braden, > > > > I comment on PR too, > > I do not have test failure on my computer, which test fails on your=20 > > computer ? > > > > Cordialement. > > ---------------------------- > > Maxime LUCE > > maxime@touchit.fr > > 06 28 60 72 34 > > http://touchit.fr > > > > -----Original Message----- > > From: braden@google.com [mailto:braden@google.com] On Behalf Of=20 > > Braden Shepherdson > > Sent: mercredi 6 novembre 2013 19:22 > > To: dev@cordova.apache.org > > Subject: Re: Platforms which are in subdirectory in repositories=20 > > can't be added by cli since 3.1.0-0.2.0 > > > > Commented on the PR. > > > > > > On Wed, Nov 6, 2013 at 1:20 PM, Maxime LUCE wrote: > > > > > Hello, > > > > > > I found that platforms which are in a subdirectory of their=20 > > > repository can't be added by cli. > > > I found that in the commit=20 > > > d75c0585c88ee9283db400f0c946027bd9d6e1ea in cordova-cli repository, s= omeone removed detection from these platforms. > > > > > > I created and resolved issue CB-5295 by doing a simple test over=20 > > > targeted platform. > > > I think we must configure a "subdir" options in platforms.js to=20 > > > tell other modules that project can be in a sub directory in its repo= sitory. > > > What about that ? Can someone review and merge CB5295 ? > > > > > > You can find fix at : > > > https://github.com/apache/cordova-cli/pull/69 > > > > > > Cordialement. > > > ---------------------------- > > > Maxime LUCE > > > maxime@touchit.fr > > > 06 28 60 72 34 > > > http://touchit.fr > > > > > > > > > > > >