cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <>
Subject [jira] [Commented] (CB-8965) copy platform specific cordova-js into cordova projects platform_www
Date Wed, 06 May 2015 07:53:00 GMT


Steve Gill commented on CB-8965:

Two ways of doing this.

1) platform create scripts takes care of copying template files over to your cordova projects.
Update each platforms create script to copy over cordova-js-src directory. Release each platform

2) add location of cordova-js-src in parsers for each platform and let cordova-lib copy over
the directory during platform add. 

Since cordova-js-src is only needed for browserify method, and browserify method is only offered
through cli, I think option 2 should be fine. We still have to release platforms that haven't
had a release with cordova-js-src (firefoxos, browser, amazon)

> copy platform specific cordova-js into cordova projects platform_www
> --------------------------------------------------------------------
>                 Key: CB-8965
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: CordovaJS, CordovaLib
>            Reporter: Steve Gill
>            Assignee: Steve Gill
> Going to get each platforms cordova-js-src directory to be copied into platform_www for
each platform on cordova platform add. We need these files to include when generating cordova.js
if using the --browserify flag. 
> The parsers will be updated with the location of cordova-js-src for each platform and
cordova-lib/src/cordova/platforms.js will be updated to copy cordova-js-src directory into

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message