cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9560) Issue using plugin restore for plugins with common dependencies
Date Fri, 28 Aug 2015 21:00:47 GMT


ASF GitHub Bot commented on CB-9560:

Github user marcuspridham commented on the pull request:
    In serial it seems to be able to detect the file plugin is already installed and does
not try to install it again.  The parallel way you can see in the logs that it does not see
the plugin is installed yet so it runs the install again. There is a race condition.

> Issue using plugin restore for plugins with common dependencies
> ---------------------------------------------------------------
>                 Key: CB-9560
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message