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 C2B6FF81E for ; Fri, 3 May 2013 07:42:14 +0000 (UTC) Received: (qmail 2704 invoked by uid 500); 3 May 2013 07:42:14 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 2191 invoked by uid 500); 3 May 2013 07:42:03 -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 1819 invoked by uid 99); 3 May 2013 07:42:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 07:42:01 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andreas.sander@hotmail.de designates 157.55.0.229 as permitted sender) Received: from [157.55.0.229] (HELO dub0-omc1-s30.dub0.hotmail.com) (157.55.0.229) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 07:41:55 +0000 Received: from DUB113-W103 ([157.55.0.237]) by dub0-omc1-s30.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 3 May 2013 00:41:35 -0700 X-EIP: [ywg0vR2kfVjQhAe7C5a7q+B0155Cdiyb] X-Originating-Email: [andreas.sander@hotmail.de] Message-ID: Content-Type: multipart/alternative; boundary="_a2b56493-e60d-4429-a1c9-21cde00c46c6_" From: Andreas Sander To: "dev@cordova.apache.org" Subject: RE: Import platform specific www-files Date: Fri, 3 May 2013 09:41:34 +0200 Importance: Normal In-Reply-To: References: ,, MIME-Version: 1.0 X-OriginalArrivalTime: 03 May 2013 07:41:35.0167 (UTC) FILETIME=[A32C9CF0:01CE47D1] X-Virus-Checked: Checked by ClamAV on apache.org --_a2b56493-e60d-4429-a1c9-21cde00c46c6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I need a tip what's wrong with my XML file. My file structure is: plugin||-> plugin.xml|-> www/ | ----> ios/ ----> androi= d/-> src/ | ---> ios/ ---> android/ and here is my XML When I use the asset command before android platform=2C everything works gr= eat. But inside the platform specification something seems to be wrong and = nothing happens. Can somebody help me with that=2C or is it possible to debug the xml or che= ck it against a specific xml specification? With best regards=2C Andreas SQLite Plugin = =3D2.1.0" /> = = = = > From: andreas.sander@hotmail.de > To: dev@cordova.apache.org > Subject: RE: Import platform specific www-files > Date: Thu=2C 2 May 2013 20:41:05 +0200 >=20 > Is there a way to debug my plugin.xml file? > > From: fil@adobe.com > > To: dev@cordova.apache.org > > Date: Thu=2C 2 May 2013 09:44:52 -0700 > > Subject: Re: Import platform specific www-files > >=20 > > Hey Andreas=2C > >=20 > > If you are the author of the plugin=2C I would recommend checking out > > plugman=2C which is cordova's tool for installing and uninstalling plug= ins > > automatically into/from a cordova project: > >=20 > > https://git-wip-us.apache.org/repos/asf?p=3Dcordova-plugman.git=3Ba=3Ds= ummary > >=20 > >=20 > > In the README=2C there is a specification for a plugin.xml manifest. Th= is > > file describes what makes up your plugin=2C and the plugman tool uses t= his > > manifest to run the installation and uninstallation. It supports the > > following use cases=2C which seem to align with your objectives: > >=20 > > - or elements that can be nested under a particular > > element=2C denoting platform-specific web assets or javascri= pt > > modules that should be included in the plugin only for certain platform= s. > > - also has a element allowing to automatically add/remove > > sections from various cordova and native project configuration files. > >=20 > > For a few examples check out PhoneGap Build's plugins: > >=20 > > https://github.com/phonegap-build > >=20 > > They all have a plugin.xml manifest. > >=20 > > On 5/2/13 9:36 AM=2C "Andreas Sander" wrote= : > >=20 > > >Thanks! > > >One further question: > > >Is it possible to add the necessary plugin entries into the project pl= ist > > >(iOS) and config.xml (android) automatically during build or do I have= to > > >do this always manually? > > >Do I need to specify these settings inside the plugin folder? > > >> From: mmocny@chromium.org > > >> Date: Thu=2C 2 May 2013 11:55:59 -0400 > > >> Subject: Re: Import platform specific www-files > > >> To: dev@cordova.apache.org > > >>=20 > > >> If you are using cordova-cli=2C there is already a merges/ folder fo= r > > >>exactly > > >> this. > > >>=20 > > >> From the README: > > >>=20 > > >> Platform-specific web assets (HTML=2C CSS and JavaScript files) are > > >>contained > > >> within appropriate subfolders in this directory. These are deployed > > >>during > > >> a prepare to the appropriate native directory. Files placed under > > >>merges/ will > > >> override matching files in the www/folder for the relevant platform. > > >>=20 > > >>=20 > > >> On Thu=2C May 2=2C 2013 at 11:46 AM=2C Andreas Sander > > >> wrote: > > >>=20 > > >> > Hi again =3B-)=2C > > >> > I use a plugin with different JavaScript files for each platform. = Can > > >>I=2C > > >> > somehow=2C control which of these files are added to which platfor= m > > >>specific > > >> > www folder during cordova build? > > >> > Or do I need to include both inside the www folder and refer to th= em > > >>based > > >> > on device.platform? > > >> > Greets=2C > > >> > Andreas > > > =20 > >=20 > =20 = --_a2b56493-e60d-4429-a1c9-21cde00c46c6_--