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

ASF subversion and git services commented on CB-7718:
-----------------------------------------------------

Commit d62bf5260c33683d2394595cbbea6847d9a7ce28 in cordova-lib's branch 
refs/heads/master from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=d62bf52 ]

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

This closes #102


> 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