You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/05 05:30:45 UTC

[jira] [Commented] (CB-9560) Issue using plugin restore for plugins with common dependencies

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

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

Commit 59cac5b696fc85c1488289c9331a3a27ab9140cd in cordova-lib's branch refs/heads/master from [~mpridham]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=59cac5b ]

CB-9560 Issue using plugin restore for plugins with common dependencies (This closes #288)


> Issue using plugin restore for plugins with common dependencies
> ---------------------------------------------------------------
>
>                 Key: CB-9560
>                 URL: https://issues.apache.org/jira/browse/CB-9560
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Marcus Pridham
>
> Running into an annoying kind of race condition similar to CB-9278 but for plugins.  The issue comes up when you have multiple plugins being restored that have common dependencies.  
> The way restore currently works it is adding all the plugins in config.xml at once. It does NOT wait for the first plugin and its dependencies to be installed before adding the next plugin in the config.xml.  This can cause a plugin to be installed multiple times.  You will get a message like the following in the console:
> Failed to install ‘cordova-plugin-inappbrowser':Error: Uh oh!
> "/Users/i827005/dev/source/odata-demo/platforms/ios/ODataDemo/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m" already exists!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org