cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Commented] (CB-6158) Adding file transfer plugin directly from git repository causes a compilation error
Date Tue, 04 Mar 2014 13:48:20 GMT


Ian Clelland commented on CB-6158:

I don't see a compilation error, trying exactly your steps.

Because of the way that plugman resolves dependencies, I think that what could have happened
is this:

* {{cordova plugin add}}
fetches file-transfer from the master branch in git. As of Feb. 28, this was version 0.4.2,
which depends on File 1.0.1.
* cordova fetches File from the plugin registry. Until about 8 hours ago, version 1.0.0 was
the latest published version on the registry.

At this point, plugman should have complained about the version mismatch, but I suspect it
didn't. You probably would have seen a compilation instead, as file-transfer tried to use
symbols that aren't in File 1.0.0.

Try it again this morning, and see if the issue is resolved.

> Adding file transfer plugin directly from git repository causes a compilation error
> -----------------------------------------------------------------------------------
>                 Key: CB-6158
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.4.0
>         Environment: OSX and Windows 7
>            Reporter: Iron Bone
> cordova create Test
> cd Test
> cordova platform add android
> cordova plugin add
> cordova build android
> The last comand returns an error.
> When the plugin is instaled in this way:
> cordova plugin add org.apache.cordova.file-transfer
> There are no problems with building.
> The given problem is only with file-transfer plugin
> The given way of instaling plugins is used in Netbeans so at this moment it is not possible
to create new working project.

This message was sent by Atlassian JIRA

View raw message