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 CA0EE11F65 for ; Wed, 30 Jul 2014 22:04:20 +0000 (UTC) Received: (qmail 58645 invoked by uid 500); 30 Jul 2014 22:04:20 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 58603 invoked by uid 500); 30 Jul 2014 22:04:20 -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 58591 invoked by uid 99); 30 Jul 2014 22:04:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 22:04:20 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of csantana23@gmail.com designates 209.85.212.179 as permitted sender) Received: from [209.85.212.179] (HELO mail-wi0-f179.google.com) (209.85.212.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 22:04:15 +0000 Received: by mail-wi0-f179.google.com with SMTP id f8so3107606wiw.0 for ; Wed, 30 Jul 2014 15:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=n1Jok+n710waIJ6LXBtpzSCdL/r9LRMHqF8YsiWwdKE=; b=l+SbCeFYRuyxr0Qh6PO5IsRr037/Brnjm66+xiwMiuqjn4c/z+FNgdwzHD6+qnGNFa RSGlWzvVfI/qF8PnGDfGRvRLYJOGX9SJ4oPLtuICNkd9yZtuI5Y/amxinhbZD4Rw+MO5 KZUGamx2WOA30KCI9mm8VtTN158J/mkou5iQqUFiYshuwk3zT7q5SvkABLrgApX/0/oW ZbflwdiQmXbO/0AOuppQCVhk4rGUOpcB2KFkb3IhUJ7Q9TlIosZcqSuOzmldizGEa6i3 BxmKpbndK42jTvO2lkD2fMVVZlWh2iCkhNpGnUlXT56wnpdYtDquikNIEHJL9o5y2q9Z R4KA== MIME-Version: 1.0 X-Received: by 10.180.80.133 with SMTP id r5mr10772097wix.62.1406757834227; Wed, 30 Jul 2014 15:03:54 -0700 (PDT) Received: by 10.194.37.102 with HTTP; Wed, 30 Jul 2014 15:03:54 -0700 (PDT) In-Reply-To: References: <20140729223207.6357079.13749.6173@blackberry.com> Date: Wed, 30 Jul 2014 18:03:54 -0400 Message-ID: Subject: Re: missing documentation and missing major version bump From: Carlos Santana To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=f46d044403a2fe89ba04ff705455 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044403a2fe89ba04ff705455 Content-Type: text/plain; charset=UTF-8 Yes I agree the projectname should be saved in config.xml and have it as an official flag in documented cordova cli I think the concern was more of using current default name HelloCordova.pbxproj this will always be the name of the project, unless you really, really know what you are doing and want to change it you can specify in cli, shell script, or in config.xml appname My guess is to not brake someone that is relying on that behavior today and understand the limitations on file and directory names On Wed, Jul 30, 2014 at 5:48 PM, Mark Koudritsky wrote: > On Wed, Jul 30, 2014 at 12:50 PM, Carlos Santana > wrote: > > > For the prepare I was thinking hooks. > > > > Does all hooks receive all the command line arguments including the extra > > ones? > > > Yes, it receives the entire command line string, like this > execOpts.env.CORDOVA_CMDLINE = process.argv.join(' '); > from cordova/hooker.js:143 > < > https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/hooker.js#L143 > > > > > > > The use case is related to CB-7131 [1], to be use like "platform add ios > > --project="CordovaProject" > > Where the Cordova App name is different from the xcode project name. > > > > [1]:https://issues.apache.org/jira/browse/CB-7231 > > > If we decide to add the flexibility to separately set the project name, I > think we will have to have "--project" (or whatever we decide to call that > flag) be part of cordova cli core flags. That name is better be saved > somewhere like www/config.xml, so it's definitely not an ephemeral flag to > be passed along to the platform scripts and forgotten. > > And going back to that discussion about project name(s). From going over it > I didn't understand what is wrong with always using CordovaApp.pbxproj. Is > that "CordovaApp" visible somewhere on the final device where the app is > installed? > -- Carlos Santana --f46d044403a2fe89ba04ff705455--