You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2013/09/04 20:30:53 UTC
[jira] [Assigned] (CB-4184) Adding plugin with remote dependencies
to a cli project with multiple platforms yields warnings
[ https://issues.apache.org/jira/browse/CB-4184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Braden Shepherdson reassigned CB-4184:
--------------------------------------
Assignee: Braden Shepherdson (was: Filip Maj)
> Adding plugin with remote dependencies to a cli project with multiple platforms yields warnings
> -----------------------------------------------------------------------------------------------
>
> Key: CB-4184
> URL: https://issues.apache.org/jira/browse/CB-4184
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.9.0
> Reporter: Filip Maj
> Assignee: Braden Shepherdson
> Priority: Minor
>
> Set up:
> {noformat}
> $ cordova create tmp
> $ cd tmp
> $ cordova platform add ios android
> {noformat}
> Then go to add a plugin with a remote dependency.
> What will happen is, in parallel, cordova-cli will invoke {{plugin.install}}, which in turn will invoke {{plugman.fetch}}, but it does so for each platform. So in parallel, plugman is attempting to fetch the same plugin twice and fetch it into the cli-generated project's plugins directory.
> This does not cause errors but there are a bunch of warning messages about files already existing.
> Perhaps we can make the cli aware of what's happening in this case and manually call {{fetch}} first, and only once, before invoking install for each platform.
--
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