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 362A710A57 for ; Wed, 8 Jan 2014 17:49:47 +0000 (UTC) Received: (qmail 47936 invoked by uid 500); 8 Jan 2014 17:49:44 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 47579 invoked by uid 500); 8 Jan 2014 17:49:43 -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 47465 invoked by uid 99); 8 Jan 2014 17:49:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 17:49:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.192.181 as permitted sender) Received: from [209.85.192.181] (HELO mail-pd0-f181.google.com) (209.85.192.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 17:49:38 +0000 Received: by mail-pd0-f181.google.com with SMTP id p10so2053184pdj.40 for ; Wed, 08 Jan 2014 09:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=KRcCMVLZoHe0R7qJ9hEfOp7Em15coNlriZSnfbRBfGk=; b=pZs7uJ5JIokj9EugUfyUU9BCBpY6aaqtOW1HDRwx1llk35/OnegKgeeftfDf3CnXrk bp+nILkcjn3r+LqmyN48wCE151rP+LK0tmZ7K+KDrK96y6BCsR2tXBseMiSn7TK6e+KG RssCgMJcuRbFTuoj2DxNF341eLhwuVbfpAm1ro8tUn/h3wE7vAbkr0poY3TC9Kc/DjQB FBMoaf0ShFHCDaukccIZOhWWbpqjkWHcUeW1oWWUg9Wb5INGHkRO6gwKamLLRZO6fGLf ssz72cSPQANVfzUrAqouiR6ezsw1FjZRVwnYebfFYeZjqV/rcnylxYYmB3o84FMFp5fu nEiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=KRcCMVLZoHe0R7qJ9hEfOp7Em15coNlriZSnfbRBfGk=; b=CoXv185B1etK2gUo7xfGOocL5+UbVvfMKvv9u099pABJPnL90PeQxqnkyYtIBdVBh9 xRtSE7UqEP9gVpfzVXlsjNoPva3hLTSto70CuxqJB5fXr2g+a9AczSmQlrT+CTNMK6Yf PZugAo3GynXRfFXoEHXWtBVqzhOhhaoTbq4cg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=KRcCMVLZoHe0R7qJ9hEfOp7Em15coNlriZSnfbRBfGk=; b=Na9GmoQx9qgD1o28m5uU+ObeOg73pkXXFwWFHSVZqfeE3VrvkDFQfl16wMePMkqrGL hYTRln67hAmcnsj8sDK1JLZHg9wVkf/pDc5wfTgKtA190oXZK+RyxJ1K+947GvopLFCO QTZpJIJn8pkQR4VeM79U0dDeAlqFgF043JzNg3c2RTWLlfBvqTkRflV58GP565R9jfET dAD/RROytMRJDbRqjwJhexilo1YKlSUBgYb0I2hL1w5OC5SPZXPN0hLd33SEgGpCC6LB Ukdew/JVXmZaAI0Q3zSihHh7vaXpungZe2ckIUgJ2zrTIylaGJw9Gyu5hY1YvrSzXlOP 22bw== X-Gm-Message-State: ALoCoQlUnLJYFvpQBWmmHTDbCUN0HbMSngYOXbVJpjb36Svnfcy9vn89Y3GIK6ZIrswBVqaX6DlKiZw71PkJaB2b/x9D5Nk+0jnZE+0UPeCxs42/Rukx3+bjttkubMInbnf7S6bRAlwowNG7eoIqKGQ7iIE2w8WFzkOPPfQ+VeY3uBNfiP+v75K5BdHwFPVA+2S+q6F4BnuQdX9N6X63NRb2bfKYglEGjA== X-Received: by 10.66.142.233 with SMTP id rz9mr14462179pab.71.1389203358382; Wed, 08 Jan 2014 09:49:18 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.136.35 with HTTP; Wed, 8 Jan 2014 09:48:51 -0800 (PST) In-Reply-To: References: From: Andrew Grieve Date: Wed, 8 Jan 2014 09:48:51 -0800 X-Google-Sender-Auth: d3TdilixIZj8g5HbvYp7YLsB9Ac Message-ID: Subject: Re: Moving www/config.xml -> config.xml (within CLI) To: Michal Mocny Cc: Andrew Grieve , dev Content-Type: multipart/alternative; boundary=001a11344808b291a804ef791c11 X-Virus-Checked: Checked by ClamAV on apache.org --001a11344808b291a804ef791c11 Content-Type: text/plain; charset=UTF-8 I've now made this change (see JIRA issue). You can try it out via git's CLI. old projects see no change, but new project template now puts config.xml as a sibling to www. On Mon, Jan 6, 2014 at 12:11 PM, Michal Mocny wrote: > After discussing this and reading the other thread (on config.json > movement), I agree this is not the time for the rename. > > > On Mon, Jan 6, 2014 at 2:58 PM, Andrew Grieve wrote: > >> 1) Good point. Makes sense to me. >> >> 2) I think this is a tougher call. In on context, it does make more sense >> as "app.xml", since "config.xml" is the thing you're generating as an >> output. OTOH, there are a lot of tutorials & blog posts that say "put FOO >> in your config.xml", and so renaming it would be confusing in this context. >> >> >> On Mon, Jan 6, 2014 at 11:30 AM, Michal Mocny wrote: >> >>> 1) Wouldn't it make more sense to default to the root config.xml if both >>> are present? If you create a new project and import an old www project >>> using a new CLI (--source or --link), you would get both configuration >>> files (one at the root created by the template, and one inside your >>> imported www). Wouldn't you expect to use the new config file in this >>> case, perhaps with a warning to delete the old one? Not a big deal I guess >>> if you have a warning in either case. >>> 2) Do we want to rename config.xml to app.xml (or something else) to >>> finally kill the confusion between "platform config.xml" vs "project >>> config.xml"? >>> >>> >>> On Fri, Jan 3, 2014 at 1:52 PM, Andrew Grieve wrote: >>> >>>> Looks like there's already a JIRA for this: >>>> >>>> https://issues.apache.org/jira/browse/CB-4910 >>>> >>>> >>>> >>>> On Thu, Jan 2, 2014 at 10:35 AM, Andrew Grieve >>>> wrote: >>>> >>>> > I'll make a JIRA issue on Tuesday and paste the link to it here. >>>> > >>>> > >>>> > On Thu, Jan 2, 2014 at 10:32 AM, Ross Gerbasi >>>> wrote: >>>> > >>>> >> Did this make it to jira? I also think its a good idea to pull >>>> config.xml >>>> >> out of the www root. Anyway to track this one? >>>> >> >>>> >> >>>> >> On Mon, Dec 30, 2013 at 1:51 PM, Dick Van den Brink < >>>> >> d_vandenbrink@outlook.com> wrote: >>>> >> >>>> >> > I think it is a a good idea! So a +1 >>>> >> > >>>> >> > Sent from my Windows Phone >>>> >> > ________________________________ >>>> >> > From: Axel Nennker >>>> >> > Sent: 12/30/2013 20:47 >>>> >> > To: dev >>>> >> > Subject: Re: Moving www/config.xml -> config.xml (within CLI) >>>> >> > >>>> >> > I support this proposal. >>>> >> > >>>> >> > When I started work on CB-2606 >>>> >> > https://issues.apache.org/jira/browse/CB-2606I noticed that the >>>> >> > element >>>> >> > suggests that icons are put next to config.xml as well. >>>> >> > When config.xml is in the project root it becomes more natural to >>>> put >>>> >> icons >>>> >> > in /res/icons//icon.png >>>> >> > >>>> >> > -Axel >>>> >> > >>>> >> > ps: >>>> >> > I need opinions on my current implementation of CB-2606. >>>> >> > https://github.com/AxelNennker/cordova-cli >>>> >> > Please chime in to the email thread with the subject "Started >>>> >> Implementing >>>> >> > CB-2606 Add support for >>> >> > >>>> >> > >>>> >> > >>>> >> > 2013/12/30 Andrew Grieve >>>> >> > >>>> >> > > I thought this was previously discussed, but I can't find any >>>> JIRA >>>> >> issues >>>> >> > > or old emails about it. >>>> >> > > >>>> >> > > Proposal: >>>> >> > > For CLI projects: >>>> >> > > - Use www/config.xml if it exists >>>> >> > > - Otherwise use ./config.xml >>>> >> > > - Change the project template to use ./config.xml by default >>>> >> > > >>>> >> > > >>>> >> > > Reasons: >>>> >> > > - Paths in config.xml are relative to project root >>>> >> > > - Prevents a copy of config.xml ended up in platforms/*/www >>>> >> > > - Manifests are generally found at the top-level of projects. >>>> >> > > >>>> >> > > >>>> >> > > Sound good? If so I'll make an issue and work on this. Since it's >>>> >> > holidays, >>>> >> > > will wait until next week Tuesday (Jan 7) to proceed. >>>> >> > > >>>> >> > > Andrew >>>> >> > > >>>> >> > >>>> >> >>>> > >>>> > >>>> >>> >>> >> > --001a11344808b291a804ef791c11--