Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A069310B8B for ; Wed, 8 Jan 2014 18:20:00 +0000 (UTC) Received: (qmail 109 invoked by uid 500); 8 Jan 2014 18:15:09 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 99854 invoked by uid 500); 8 Jan 2014 18:14:55 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 99780 invoked by uid 99); 8 Jan 2014 18:14:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 18:14:51 +0000 Date: Wed, 8 Jan 2014 18:14:51 +0000 (UTC) From: "Axel Nennker (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5720) Add resource-file element to plugin.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865704#comment-13865704 ] Axel Nennker commented on CB-5720: ---------------------------------- pull request is here: https://github.com/apache/cordova-plugman/pull/41 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 be: Which would move the file from /glass.xml to /res/xml/glass.xml (project_dir is e.g. platforms/android/ -Axel > Add resource-file element to plugin.xml > --------------------------------------- > > Key: CB-5720 > URL: https://issues.apache.org/jira/browse/CB-5720 > Project: Apache Cordova > Issue Type: Improvement > Reporter: Axel Nennker > > Add support for to a plugin's plugin.xml > 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 directories. > An example for Android would be an authenticator that is specified in AndroidManifest.xml -- This message was sent by Atlassian JIRA (v6.1.5#6160)