You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/09/01 02:03:46 UTC

[jira] [Updated] (CB-7948) prepare rebuilding cordova_plugin.js everytime ?

     [ https://issues.apache.org/jira/browse/CB-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-7948:
---------------------------------
    Component/s: CLI

> prepare rebuilding cordova_plugin.js everytime ?
> ------------------------------------------------
>
>                 Key: CB-7948
>                 URL: https://issues.apache.org/jira/browse/CB-7948
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 3.6.0
>            Reporter: Darryl L. Miles
>
> Does the 'prepare' operation really need to rebuilding cordova_plugin.js everytime ?
> Can it not check the timestamp of the files:
>  * platforms\<platform>\www\codrova_plugins.js
>  * plugins\<platform>.js
> That is if the target cordova_plugin.js file has a newer timestamp than the plugins\myplatform.js then it skips the part of the 'prepare' operation and logs the optimization.
> "cordova_plugin.js is already up to date, use --force to rebuild."
> Of course if cordova_plugin.js does not exist it is rebuilt.
> Maybe a the --force option should be allowed to disable this check.
> Maybe other parts of the 'prepare' operation can also be skiped in this way allow for fast incremental building of the project.



--
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