Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C521C10BD6 for ; Thu, 2 Jan 2014 18:49:40 +0000 (UTC) Received: (qmail 66718 invoked by uid 500); 2 Jan 2014 18:48:32 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 66638 invoked by uid 500); 2 Jan 2014 18:48:19 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 66522 invoked by uid 99); 2 Jan 2014 18:48:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 18:48:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.223.176 as permitted sender) Received: from [209.85.223.176] (HELO mail-ie0-f176.google.com) (209.85.223.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 18:47:59 +0000 Received: by mail-ie0-f176.google.com with SMTP id at1so14997142iec.21 for ; Thu, 02 Jan 2014 10:47:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=7OZr/Jrk/VS7OxEHxEW1Wk1ryM9qtoe4alR3mzz+yMM=; b=aukORzSvG8KoTtHI8/Fo3ibs9f+MVbLBMzCZwpTg2ESeMEdRvoUESTj6tI1SR8jZ/x NJdy7f8LxkCEPxYeBRsWfQnv+dEGdWlAT77YnM2iQK4p1ELrPgzv/5QmO3Zv+bbOCd43 GWQUGH+WQX361tc/8EudgCfn39c2cZbZbn+tBm5zuPDi7ME5QEfzvW2lgAgWx6mX3zPK W6pXA0OmbK5HV82s5yvpMPwDzkL/Ytvbv+yey2IKt5kbvUt5OXulN4aliBVIR92h435R 1m+lQmSp0k4NjQtj0xaf07DhdmSUxme3WJ30W83+8kGurIqR2ubqQWp9pNd9K92kUaXV 7bqg== MIME-Version: 1.0 X-Received: by 10.50.30.166 with SMTP id t6mr73788696igh.7.1388688458414; Thu, 02 Jan 2014 10:47:38 -0800 (PST) Received: by 10.50.87.38 with HTTP; Thu, 2 Jan 2014 10:47:38 -0800 (PST) Reply-To: bowserj@apache.org In-Reply-To: References: Date: Thu, 2 Jan 2014 10:47:38 -0800 Message-ID: Subject: Re: Add resource-file element to plugin.xml From: Joe Bowser To: dev Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Why is this needed? You can use source file to copy resources. This just adds XML for the sake of adding more XML. On Thu, Jan 2, 2014 at 10:36 AM, Andrew Grieve wrote: > Looking at the plugin spec: > http://cordova.apache.org/docs/en/3.3.0/plugin_ref_spec.md.html#Plugin%20Specification > > I think this sounds great! Certainly the section in there could use some > elaboration, but I think I'd expect the tag to work as you've implemented > it. > > If no one objects, I'll pull it in tomorrow. > > > On Thu, Jan 2, 2014 at 1:10 PM, Axel Nennker wrote: > >> Hi, >> >> I created an issue in JIRA: >> https://issues.apache.org/jira/browse/CB-5720 >> >> Description >> >> 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 >> >> The ubuntu platform had this feature already. Although undocumented. >> >> 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 >> The code to implement this is here >> https://github.com/AxelNennker/cordova-plugman >> >> The pull request is here: >> https://github.com/apache/cordova-plugman/pull/41 >> >> -Axel >>