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

ASF subversion and git services commented on CB-5056:
-----------------------------------------------------

Commit 0596e47f870a13d8658ebb27f01f70fffcec5e23 in branch refs/heads/master 
from [~shepheb]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=0596e47 ]

Overhaul dependency uninstallation

This fixes several long-standing bugs with plugman deleting
dependencies. The new rules are to uninstall all of the target plugin's
dependencies, provided they are:
- Not installed at the top level.
- Not depended on by any other plugins.

Similarly, plugin directories are only deleted when no plugin depends on
them, and they are not top-level, on any platform.

Fixes CB-5056, CB-5060, CB-4992, and CB-4189.


> Removing a plugin with dependencies removes the dependencies also
> -----------------------------------------------------------------
>
>                 Key: CB-5056
>                 URL: https://issues.apache.org/jira/browse/CB-5056
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Plugman
>    Affects Versions: 3.0.0, 3.1.0
>         Environment: OSX
>            Reporter: Dooms
>             Fix For: 3.2.0
>
>
> When upgrading a project from 3.0 to 3.1, I remove all plugins first, then 
> re-add all plugins.
> The issue is with some plugins that have dependencies. E.g.
> org.apache.cordova.file-transfer
> org.apache.cordova.media
> Both rely on org.apache.cordova.file.
> But once one plugin removes this dependency, then other plugins that rely on 
> it fail:
> [Error: ENOENT, no such file or directory 
> '.../plugins/org.apache.cordova.file/plugin.xml'



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to