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 BC96B18FA4 for ; Fri, 22 May 2015 00:19:18 +0000 (UTC) Received: (qmail 67508 invoked by uid 500); 22 May 2015 00:19:17 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 67471 invoked by uid 500); 22 May 2015 00:19:17 -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 66924 invoked by uid 99); 22 May 2015 00:19:17 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2015 00:19:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 16782C75D9 for ; Fri, 22 May 2015 00:19:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rNqCIdImjSzf for ; Fri, 22 May 2015 00:19:08 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0114.outbound.protection.outlook.com [157.56.110.114]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 0606743BAB for ; Fri, 22 May 2015 00:19:08 +0000 (UTC) Received: from BLUPR03MB134.namprd03.prod.outlook.com (10.255.212.14) by BLUPR03MB134.namprd03.prod.outlook.com (10.255.212.14) with Microsoft SMTP Server (TLS) id 15.1.154.19; Fri, 22 May 2015 00:19:07 +0000 Received: from BLUPR03MB134.namprd03.prod.outlook.com ([169.254.16.62]) by BLUPR03MB134.namprd03.prod.outlook.com ([169.254.16.62]) with mapi id 15.01.0154.018; Fri, 22 May 2015 00:19:07 +0000 From: Nikhil Khandelwal To: "dev@cordova.apache.org" Subject: RE: Cordova-js update Thread-Topic: Cordova-js update Thread-Index: AQHQkUuyQhe5GCyHZ0mae9xeA53ntp2HJDVw Date: Fri, 22 May 2015 00:19:07 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nikhilkh@microsoft.com; x-originating-ip: [2001:4898:80e8:ed31::3] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB134; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401001)(5005006)(3002001);SRVR:BLUPR03MB134;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB134; x-forefront-prvs: 058441C12A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(199003)(164054003)(13464003)(377454003)(33656002)(106116001)(2351001)(106356001)(5001860100001)(5001830100001)(19580395003)(76576001)(81156007)(19580405001)(7110500001)(2501003)(2656002)(86612001)(87936001)(64706001)(74316001)(46102003)(101416001)(97736004)(4001540100001)(2950100001)(105586002)(189998001)(2900100001)(54356999)(107886002)(5001960100002)(50986999)(86362001)(92566002)(450100001)(76176999)(122556002)(15975445007)(68736005)(62966003)(77156002)(110136002)(40100003)(102836002)(2420400003)(99286002)(3826002);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR03MB134;H:BLUPR03MB134.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2015 00:19:07.0433 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB134 I'm new to this area. Steve: Can you provide some background on the motivat= ion for this change? In particular, what is the advantage of this workflow,= over the existing one: I have also made some changes to cordova-lib which will copy the contents o= f cordova-js-src into platform_www when a project gets created. If a user d= ecided to do cordova prepare --browserify, it will use the platform specifi= c js files included in their app to build their cordova.js. [3] [4] I think you need to update createmobilespec as it uses the grunt task to ge= nerate the latest cordova.js for creating an app that is used by the Apache= CI (http://ci.cordova.io). Now the latest cordova.js is not being generate= d and we are likely missing some test coverage as we make changes to cordov= a.js. Thanks, Nikhil -----Original Message----- From: Steven Gill [mailto:stevengill97@gmail.com]=20 Sent: Monday, May 18, 2015 2:18 AM To: dev@cordova.apache.org Subject: Cordova-js update I have a pull request [1] ready for cordova-js which adds platforms as dev = dependencies and uses the previously moved cordova-js-src from the platform= repos instead of src/platform. I moved existing platform specific js into = cordovajs/src/legacy-exec to use in cases where released platforms don't ha= ve a cordova-js-src directory. [2] I have updated both normal build and browserify build to use cordova-js-src= if present when building cordova.js. I have also made some changes to cordova-lib which will copy the contents o= f cordova-js-src into platform_www when a project gets created. If a user d= ecided to do cordova prepare --browserify, it will use the platform specifi= c js files included in their app to build their cordova.js. [3] [4] I will need to make sure each platform has their most up to date platform s= pecific js files in cordova-platform/cordova-js-src. After these PRs get me= rged, platform maintainers should only worry about updating these files ins= tead of what exists in cordovajs/src/legacy-exec. Let me know if you have any questions or concerns. [1] https://github.com/apache/cordova-js/pull/112 [2] https://issues.apache.org/jira/browse/CB-8441 [3] https://github.com/apache/cordova-lib/pull/221 [4] https://issues.apache.org/jira/browse/CB-8965 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org