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 ECAAB10EA5 for ; Mon, 6 Jan 2014 19:59:04 +0000 (UTC) Received: (qmail 86103 invoked by uid 500); 6 Jan 2014 19:59:04 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 86078 invoked by uid 500); 6 Jan 2014 19:59:04 -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 86070 invoked by uid 99); 6 Jan 2014 19:59:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 19:59:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.220.53 as permitted sender) Received: from [209.85.220.53] (HELO mail-pa0-f53.google.com) (209.85.220.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 19:59:00 +0000 Received: by mail-pa0-f53.google.com with SMTP id hz1so18997530pad.12 for ; Mon, 06 Jan 2014 11:58:40 -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=eYFQFrisi04TV/QxCs/i36yBVZrshMuYYpj5qGVAr9w=; b=YBOQVU6b7krp0E56Tg9WI/yhPlxD7QgldHcB+yR8NV24BlX5dqmDt0caT971f9FEKC 8+McLKQ6zzXjwBs734DmDL4FeOrL4XwQsIzOhb2+ZWl5RvQt0x1sB0reH3s8zQg9wGIw Zni+eD/pbbvhMvp3kDcP7bRJmMmAeh4VR8hZ1QQthzkEGtb2aAxJGxS1A7H8+O4kRg/3 DTitFqvt+HKQ7ul0mOzDCC5+WXKuMpPGpPQw3mPa0i+q1QZU3HnlqXb4vbiTm9Xx0m2y O7cLJMe5mN3yto7jPgkIWTDMXhk12dZc9w3QUTVy/4sOOqGA/kuZ8/NUoyUqlW7ySex7 1Pug== 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=eYFQFrisi04TV/QxCs/i36yBVZrshMuYYpj5qGVAr9w=; b=ljgISvudbfpctGB0r8I2DK86hUm7hJJwtFvwHvatHPhUfb4fsRdPJDrufzdKmM0jF2 CMnN63y7EZuJi7Y+w1faTSWIMHsk4tSMya5J76iO8NvMeLnqS710gIqp7liVu4qgI50S GVQwV3gtQo3jFWI2Sg4kJlgPpJWVDhtOBFKZo= 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=eYFQFrisi04TV/QxCs/i36yBVZrshMuYYpj5qGVAr9w=; b=DupOlv3YXRkzN4ZfKVh0JUGjZcMofzmtPTtL0Lkn38d6Mp+b6sQRpCDXmnPGIYdu1o gaeT1JaQUJbMP47YZi35SbyOv2inLMXm4XargLPmB/AsHBFiwfjC/9brL16MeMtl7tt9 x+XA6zo144bWBMvtjXPG/EwwdwxGqw5TWwPD5WGanJ2gGkGSRP5FpZyCoZtGlfndTMUm YA1HleJofbUpB2YKINEvmIagS6eh7e4br5yNsEq+PdiOkXDGVFVpEYDnacDBbt/AnHdH kOW1pLRbUv95oeZBK+e5qaaLeNRATEQBYwf5e3Yz0Y/F9bg2VML+1vz3BliVdZHO4U52 eIOw== X-Gm-Message-State: ALoCoQnv3j9gPyw3Q6atJ6t6U9uGkWoLiIUt6IEM9Qc3UyKxChsI5m5pTxPd3iaucP6uSQfJ0Imy/+ewHSNO8YhqfWYK7hszNYmy9utUPEbIlx17inrGI7mWvOyCrvWpd2lXBoedpt0u9mmSphuJniToJLzysjUEW8ALSoZ8hc12POrqVocBlwe4VV5kIp4ja8YMDi2DdrYPV2YSun+lJ+DA+BNCvkqkfQ== X-Received: by 10.67.3.97 with SMTP id bv1mr318177pad.54.1389038320233; Mon, 06 Jan 2014 11:58:40 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.136.35 with HTTP; Mon, 6 Jan 2014 11:58:20 -0800 (PST) In-Reply-To: References: From: Andrew Grieve Date: Mon, 6 Jan 2014 11:58:20 -0800 X-Google-Sender-Auth: VlPgeY5h5bwG0c_U798Q5qPw0Qc Message-ID: Subject: Re: Moving www/config.xml -> config.xml (within CLI) To: Michal Mocny Cc: dev , Andrew Grieve Content-Type: multipart/alternative; boundary=047d7b15aeb1a8459004ef52af2e X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15aeb1a8459004ef52af2e Content-Type: text/plain; charset=UTF-8 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 >> >> > > >> >> > >> >> >> > >> > >> > > --047d7b15aeb1a8459004ef52af2e--