You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "David Kemp (JIRA)" <ji...@apache.org> on 2013/07/16 19:18:51 UTC
[jira] [Created] (CB-4275) cordova-cli platform remove/platform add
causes subsequent plugin remove/ plugin add to fail
David Kemp created CB-4275:
------------------------------
Summary: 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: Filip Maj
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