[
https://issues.apache.org/jira/browse/CB-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160360#comment-14160360
]
Ian Clelland commented on CB-7718:
----------------------------------
The issue appears with the first commit for CB-6481
> 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
> 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.core.file-transfer}}, because
> {{org.apache.cordova.core.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]