cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-8965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530110#comment-14530110
] 

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: https://issues.apache.org/jira/browse/CB-8965
>             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
platform_www. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message