You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Danyi Lin (JIRA)" <ji...@apache.org> on 2014/06/20 00:44:26 UTC
[jira] [Commented] (CB-6140) Plugman allows deletion of
dependencies
[ https://issues.apache.org/jira/browse/CB-6140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038037#comment-14038037 ]
Danyi Lin commented on CB-6140:
-------------------------------
[~bhiggins@blackberry.com] I am just trying to clarify this issue
given a plugin defined as below:
<plugin ...>
<name>foo</name>
...
<platform name="platform-name">
<dependency>bar</dependency>
</platform>
...
</plugin>
* Install plugin foo, bar will be installed as dependency implicitly
Test 1
remove plugin foo
expect result: bar should be remove either
actual result : bar was NOT removed
Test 2
remove plugin bar
expect result: the removing will be rejected, because foo depends on it
actual result : bar was removed.
> Plugman allows deletion of dependencies
> ---------------------------------------
>
> Key: CB-6140
> URL: https://issues.apache.org/jira/browse/CB-6140
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Plugman
> Affects Versions: 3.4.0
> Reporter: Bryan Higgins
> Assignee: Jonathan Bond
> Fix For: 3.6.0
>
>
> plugman 0.20.1 / CLI 3.4.0-0.1.2
> After a dependency was automatically added for me, I am able to remove it.
> "prepare" then complains about a missing plugin.xml file
> I used the following plugin, but I suspect this behaviour would occur for all with a top-level dependency:
> https://github.com/blackberry/cordova-blackberry-plugins/blob/master/plugin/com.blackberry.sensors/plugin.xml
--
This message was sent by Atlassian JIRA
(v6.2#6252)