[ https://issues.apache.org/jira/browse/CB-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161807#comment-14161807 ]
ASF GitHub Bot commented on CB-7718: ------------------------------------ Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org