cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Bektchiev (JIRA)" <>
Subject [jira] [Commented] (CB-7015) Support copying a lib-file from the SDK directory
Date Wed, 25 Jun 2014 07:12:24 GMT


Martin Bektchiev commented on CB-7015:

The <framework> element is already used for referring an Android library project. That's
why I suggest to keep using the <lib-file> element for JARs. But you're right instead
of a "from-sdk" attribute we could use a "framework" attribute.

> Support copying a lib-file from the SDK directory
> -------------------------------------------------
>                 Key: CB-7015
>                 URL:
>             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
> 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

This message was sent by Atlassian JIRA

View raw message