You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2013/07/05 16:37:48 UTC

[jira] [Commented] (CB-4077) CLI / Plugman can't remove dependency-only plugins

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

Ian Clelland commented on CB-4077:
----------------------------------

Modification:

We still need to remove the plugin from each platform, even if it has no <platform> tags, since it is referenced in the plugin/<platform>.json files.
                
> CLI / Plugman can't remove dependency-only plugins
> --------------------------------------------------
>
>                 Key: CB-4077
>                 URL: https://issues.apache.org/jira/browse/CB-4077
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Plugman
>    Affects Versions: 3.0.0
>            Reporter: Ian Clelland
>            Assignee: Ian Clelland
>
> {{cordova plugin remove}} cannot delete dependency-only plugins, which do not have any platforms defined in their {{plugin.xml}} file. {{plugman.uninstall()}} is only called for platforms, not for the plugin itself.
> I propose fixing this by separating the tasks of
> * removing a plugin from a particular platform, and
> * removing a plugin from the cordova project
> Dependency-only projects need the second step to occur, but not the first.
> Other plugins will have the first step run once per platform, and then the second step run once.

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