cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Braden Shepherdson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-4184) Adding plugin with remote dependencies to a cli project with multiple platforms yields warnings
Date Thu, 05 Sep 2013 15:41:51 GMT

     [ https://issues.apache.org/jira/browse/CB-4184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Braden Shepherdson resolved CB-4184.
------------------------------------

    Resolution: Fixed
    
> 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

Mime
View raw message