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 542F910CF6 for ; Wed, 16 Oct 2013 17:47:37 +0000 (UTC) Received: (qmail 99454 invoked by uid 500); 16 Oct 2013 17:47:36 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 99193 invoked by uid 500); 16 Oct 2013 17:47:36 -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 99176 invoked by uid 99); 16 Oct 2013 17:47:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 17:47:35 +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 (athena.apache.org: domain of bowserj@gmail.com designates 209.85.212.46 as permitted sender) Received: from [209.85.212.46] (HELO mail-vb0-f46.google.com) (209.85.212.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 17:47:25 +0000 Received: by mail-vb0-f46.google.com with SMTP id 10so447905vbe.19 for ; Wed, 16 Oct 2013 10:47:05 -0700 (PDT) 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:cc:content-type:content-transfer-encoding; bh=bgbahKpwDe2Chlo8Vjbn+j9ZdvrmPXDScY/4pm2sgbg=; b=Vlp3LYo5k+vsVaQzt/BmyFcwRzZE79n7tLjhyEfwyTjFulgl2GzMYdfUTPl2eV2qp1 JzF4MoHN2pc0pAYovzYdOztKtr6khWoU0/XfOCk4m7SJTdAG4JIiWpJQtBJV2AbjCvtD 641opVyDnzYhsG1tt9UkJdiLppKXgMRmLgZaptgCi8tCyLtwtRXqamWEYBQ2nJPFsZZx SunUSei4JwE3plYcAxIf0HGryEfu/p/5BDnwsEtvchLkGNInxiQY4G/Xn0vPAjQHMg6i py5nJhE4UiWqbqheC4y14nNp+2CD6XvXYG4MsdP8Rx3h/llGwc1N0mUwa4bVm3CZCYEX 5tUQ== MIME-Version: 1.0 X-Received: by 10.52.119.228 with SMTP id kx4mr2769550vdb.12.1381945625150; Wed, 16 Oct 2013 10:47:05 -0700 (PDT) Received: by 10.220.183.5 with HTTP; Wed, 16 Oct 2013 10:47:05 -0700 (PDT) Reply-To: bowserj@apache.org In-Reply-To: <1F75B71F-21D3-4998-A488-E85209ECB157@sap.com> References: <1F75B71F-21D3-4998-A488-E85209ECB157@sap.com> Date: Wed, 16 Oct 2013 10:47:05 -0700 Message-ID: Subject: Re: config.xml discussion, we need to talk From: Joe Bowser To: "Wargo, John" Cc: "" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Oct 16, 2013 at 10:13 AM, Wargo, John wrote: > Joe, > > What is your issue with the CLI? Isn't not using it making your life mor= e difficult if you're doing cordova development (An app which includes one = or more plugins). I assumed that with 3.0 everyone would use the Cli for t= heir cordova (not cordova plugin) development. What am I missing? > I was going to keep quiet, because this is going to make me extremely unpopular with the people who worked and promoted the CLI, since I've mostly left them alone until now. The CLI actually makes your life more difficult if you're making anything more complex than hello world. If you care about details, you'll want the source code for Android and iOS at the very least. The biggest problem with the CLI is the fact that it hides the platforms in the .cordova directory and that if you're an advanced user of Cordova you have no way to make custom modifications to the source code on a per-project basis. We've run into this numerous times where certain things need to be modified on a webview on 3.0 that you can't easily do anymore. Now, these changes by themselves are individual edge cases, which I don't want to see put in the XML of the project, but if you hide the source, you end up having to do crazy things like declare Java code in XML to override these cases. I think that people should be able to modify the code and use it whichever way they want and that they should be able to do this on a per-project basis if they want, and I view the CLI as something that gets in the way of that, which is why I have such a low opinion of it. The CLI also makes it much harder for the CordovaWebView use case where you use Cordova as a small part of a larger native application. Given that this was one of the big features of PhoneGap 2.0, it makes no sense for us to make it harder to use that feature. Finally, I have yet to see anyone actually release a real application to the App Store or the Play Store with it. Developing an application is great, but if I can't release it, then the tool is absolutely worthless. While the CLI may look impressive in demos in front of an audience, it's not helpful in reality. Joe