You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Matthew T. Adams (JIRA)" <ji...@apache.org> on 2014/05/29 17:13:02 UTC

[jira] [Commented] (CB-5127) Detect changes to plugins and reinstall their source on prepare

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

Matthew T. Adams commented on CB-5127:
--------------------------------------

I just got bit by this behavior.  When doing local plugin development, changes to the plugin source are propagated from the plugin's directory to the app's {{plugins}} directory upon {{cordova plugin add ../plugin}}, but my app's {{platforms/android/src}} is not updated with the updated plugin source.  The workaround is to either remove & add the plugin or remove & add the platform, which is nonideal.

> Detect changes to plugins and reinstall their source on prepare
> ---------------------------------------------------------------
>
>                 Key: CB-5127
>                 URL: https://issues.apache.org/jira/browse/CB-5127
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 3.0.0
>         Environment: Windows 7, cordova CLI 3.0.4
>            Reporter: Kris Erickson
>            Assignee: Braden Shepherdson
>             Fix For: 3.6.0
>
>
> Running 
> cordova prepare android
> copies the javascript portion of the plugin, but not the Java source on android (haven't yet tested on IOS).  Thus when the project is moved between machines the source isn't copied if it isn't retained in the VCS or if the user adds a platform after adding a plugin.  My suggestion would be to copy only if the source isn't there in case the user has changed the plugin.



--
This message was sent by Atlassian JIRA
(v6.2#6252)