cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7015) Support copying a lib-file from the SDK directory
Date Wed, 25 Jun 2014 13:44:25 GMT

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

Andrew Grieve commented on CB-7015:
-----------------------------------

Yeah, don't feel strongly one way or the other so long as we spell it out in the plugin spec.

> Support copying a lib-file from the SDK directory
> -------------------------------------------------
>
>                 Key: CB-7015
>                 URL: https://issues.apache.org/jira/browse/CB-7015
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugman
>            Reporter: Martin Bektchiev
>            Priority: Minor
>
> Many plugins need to refer to JARs from the Android SDK. They currently embed a copy
of the respective files in them and install it into the application's libs/ directory. This
however might create incompatibility issues with other plugins which may use the same or dependent
JARs.
> A good alternative would be to be able to specify a relative path to the SDK directory
in <lib-file> as it is now possible with the <framework> element with custom=false.
> E.g. 
> <source-file src="src/android/com/plugin/android-support-v13.jar" target-dir="libs/"
/>
> could become 
> <lib-file src="extras/android/support/v13/android-support-v13.jar" from-sdk="true"
/>
> in https://github.com/phonegap-build/PushPlugin/blob/54e59bce6092ec44fe2005c166350fd85e75449b/plugin.xml#L64



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message