You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/08/27 12:35:46 UTC
[jira] [Commented] (CB-7015) Support copying a lib-file from the
SDK directory
[ https://issues.apache.org/jira/browse/CB-7015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716451#comment-14716451 ]
ASF GitHub Bot commented on CB-7015:
------------------------------------
GitHub user mbektchiev opened a pull request:
https://github.com/apache/cordova-lib/pull/290
CB-7015 Add support for parent and custom attributes in lib-file element
This enables referring to libraries from the Android SDK directory.
Refs https://issues.apache.org/jira/browse/CB-7015
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Icenium/cordova-lib bektchiev/CB-7015
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/290.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #290
----
commit d11ea52a745ca88e5c08050128b7374eed77b63e
Author: Martin Bektchiev <ma...@telerik.com>
Date: 2015-08-26T14:11:14Z
CB-7015 Add support for parent and custom attributes in lib-file element
This enables referring to libraries from the Android SDK directory.
----
> 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" custom="false" />
> in https://github.com/phonegap-build/PushPlugin/blob/54e59bce6092ec44fe2005c166350fd85e75449b/plugin.xml#L64
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org