cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel Nennker (JIRA)" <>
Subject [jira] [Commented] (CB-5720) Add resource-file element to plugin.xml
Date Wed, 08 Jan 2014 18:14:51 GMT


Axel Nennker commented on CB-5720:

pull request is here:

The code now emits a warning if resouce-file is not supported on the platform.
res is now not prepended to the target anymore; so an example element in plugin.xml would
  <resource-file src="glass.xml" target="res/xml/glass.xml" />
Which would move the file from <plugin_dir>/glass.xml to <project_dir>/res/xml/glass.xml
(project_dir is e.g. platforms/android/


> Add resource-file element to plugin.xml
> ---------------------------------------
>                 Key: CB-5720
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>            Reporter: Axel Nennker
> Add support for <resource-file src="glass.xml" target="xml/glass.xml" /> to a plugin's
> The above example would copy the file glass.xml from the plugin's directory to the platforms/android/res/xml/glass.xml
> This is for the use case when a plugin in needs additional file e.g. in res/xml or other
> An example for Android would be an authenticator that is specified in AndroidManifest.xml

This message was sent by Atlassian JIRA

View raw message