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

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 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git}} 
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: https://issues.apache.org/jira/browse/CB-6158
>             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 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git
> 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
(v6.2#6252)

Reply via email to