You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/10/17 22:15:35 UTC

[jira] [Updated] (CB-4275) cordova-cli platform remove/platform add causes subsequent plugin remove/ plugin add to fail

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

Jesse MacFadyen updated CB-4275:
--------------------------------
    Assignee:     (was: Braden Shepherdson)

> cordova-cli platform remove/platform add causes subsequent plugin remove/ plugin add to fail
> --------------------------------------------------------------------------------------------
>
>                 Key: CB-4275
>                 URL: https://issues.apache.org/jira/browse/CB-4275
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: Master, 3.0.0
>         Environment: verified with android, should also be true with other platforms
>            Reporter: David Kemp
>            Priority: Minor
>
> when you run cordova platform remove, then cordova platform add
> the plugin dependencies are not preserved (lpugins/*.json).
> when you then run cordova plugin remove, it will not cleanly remove all plugins because the dependency information is incorrect.
> to replicate:
> * create a mobilespec project
> * cordova platform add android
> * cordova plugin add ../cordova-mobile-spec/dependencies-plugin
> * cordova platform remove android
> * cordova platform add android
> * cordova plugin remove org.cordova.mobile-spec-dependencies 
> * cordova plugin add ../cordova-mobile-spec/dependencies-plugin
> You will now find that the plugins are not installed correctly - specifically platforms/android/src/org/apache/cordova/core/ is missing a number of java files.



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