[
https://issues.apache.org/jira/browse/CB-9560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715318#comment-14715318
]
ASF GitHub Bot commented on CB-9560:
------------------------------------
GitHub user marcuspridham opened a pull request:
https://github.com/apache/cordova-lib/pull/288
CB-9560 Issue using plugin restore for plugins with common dependencies
Similar change to CB-9278. This change makes it so only one plugin is
restored at a time.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marcuspridham/cordova-lib CB-9560
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/288.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #288
----
commit e282bc64cd07fa2b49d200d1ad627a0af8532536
Author: Marcus Pridham <[email protected]>
Date: 2015-08-26T18:37:32Z
CB-9560 Issue using plugin restore for plugins with common dependencies
----
> 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: [email protected]
For additional commands, e-mail: [email protected]