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

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

GitHub user sgrebnov opened a pull request:

    https://github.com/apache/cordova-lib/pull/102

    CB-7718 CB-7677 CordovaLib fails when installing transitive dependencies

    https://issues.apache.org/jira/browse/CB-7718
    https://issues.apache.org/jira/browse/CB-7677

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-7718

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/102.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 #102
    
----
commit 75ac7bbdd0c71afab5431f02033c84114a89d6af
Author: sgrebnov <[email protected]>
Date:   2014-10-07T07:52:25Z

    CB-7718 CB-7677 CordovaLib fails when installing transitive dependencies

----


> CordovaLib fails when installing transitive dependencies
> --------------------------------------------------------
>
>                 Key: CB-7718
>                 URL: https://issues.apache.org/jira/browse/CB-7718
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 3.7.0
>            Reporter: Ian Clelland
>            Assignee: Sergey Grebnov
>            Priority: Blocker
>         Attachments: CB-7718.tar.gz
>
>
> Since commit a972451, I can no longer create mobilespec. During plugin 
> installation, cordovalib fails to install 
> {{org.apache.cordova.file-transfer}}, because {{org.apache.cordova.file}} has 
> just been installed (this is regression from the previous commit, and from 
> CordovaLib 0.21.13)
> Specifically, it fails for me because it tries to copy android source files 
> where the destination already exists. When it fails, it reverts the 
> installation of all plugins installed until that point, and then proceeds to 
> try to install the rest of them.
> I've attached a tarball of plugins that reproduce this issue. To test, untar 
> that file, and then:
> {code}
> cordova create test
> cd test
> cordova platform add android # this must be done first
> cordova plugin add dep --searchpath=<path to untarred plugins>
> {code}
> This currently results in the output
> {code}
> Installing "dep" for android
> Installing "A" for android
> Installing "B" for android
> Installing "A" for android
> Error during processing of action! Attempting to revert...
> {code}
> At the previous commit (8abfaf18), the action is successful, with the output
> {code}
> Installing "dep" for android
> Installing "A" for android
> Installing "B" for android
> {code}
> (Note that it does not attempt to install plugin A a second time)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to