cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9560) Issue using plugin restore for plugins with common dependencies
Date Thu, 27 Aug 2015 21:48:45 GMT

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

ASF GitHub Bot commented on CB-9560:
------------------------------------

Github user omefire commented on the pull request:

    https://github.com/apache/cordova-lib/pull/288#issuecomment-135565178
  
    Also, does this happen when you use the following two plugins : cordova-plugin-file and
cordova-plugin-file-transfer ?
    Otherwise, could you please provide some example plugins which elicit this behavior ?
    I'd like to test using them.


> 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


Mime
View raw message