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

Braden Shepherdson reassigned CB-4275:
--------------------------------------

    Assignee: Braden Shepherdson  (was: Filip Maj)
    
> 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
>            Assignee: Braden Shepherdson
>            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to