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 8208511A29 for ; Mon, 21 Jul 2014 17:34:35 +0000 (UTC) Received: (qmail 69007 invoked by uid 500); 21 Jul 2014 17:34:35 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 68964 invoked by uid 500); 21 Jul 2014 17:34:35 -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 68953 invoked by uid 99); 21 Jul 2014 17:34:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 17:34:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raycamde@adobe.com designates 207.46.163.143 as permitted sender) Received: from [207.46.163.143] (HELO na01-bn1-obe.outbound.protection.outlook.com) (207.46.163.143) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 17:34:28 +0000 Received: from BY2PR02MB283.namprd02.prod.outlook.com (10.242.236.149) by BY2PR02MB281.namprd02.prod.outlook.com (10.242.236.142) with Microsoft SMTP Server (TLS) id 15.0.990.7; Mon, 21 Jul 2014 17:34:05 +0000 Received: from BY2PR02MB283.namprd02.prod.outlook.com ([169.254.9.66]) by BY2PR02MB283.namprd02.prod.outlook.com ([169.254.9.66]) with mapi id 15.00.0990.007; Mon, 21 Jul 2014 17:34:05 +0000 From: Ray Camden To: "dev@cordova.apache.org" Subject: When is .cordova created? Thread-Topic: When is .cordova created? Thread-Index: AQHPpQnCz9CtDeyysUOrR+qInGRZwQ== Date: Mon, 21 Jul 2014 17:34:04 +0000 Message-ID: <1405964044398.33111@adobe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [76.72.15.75] x-microsoft-antispam: BCL:0;PCL:0;RULEID: x-forefront-prvs: 0279B3DD0D x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(189002)(199002)(50986999)(81342001)(76482001)(36756003)(85306003)(46102001)(107046002)(81542001)(106356001)(2656002)(229853001)(54356999)(66066001)(83072002)(80022001)(4396001)(106116001)(31966008)(77982001)(20776003)(83322001)(64706001)(77096002)(74502001)(2351001)(85852003)(99286002)(92566001)(87936001)(105586002)(101416001)(86362001)(95666004)(79102001)(74662001)(110136001)(99396002)(21056001)(92726001)(107886001)(142923001);DIR:OUT;SFP:;SCL:1;SRVR:BY2PR02MB281;H:BY2PR02MB283.namprd02.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;MX:1;LANG:en; Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: adobe.com X-Virus-Checked: Checked by ClamAV on apache.org (This question feels like it *should* be appropriate here, but if I should = raise it on the PG Google group, I will.)=0A= =0A= I recently released a Brackets extension that wrapped calls to the Cordova = CLI. I wrote some simple logic to handle checking if a folder is a Cordova = project. I simply looked for a subdirectory called .cordova.=0A= =0A= But a user told me the extension wasn't correctly seeing a Cordova project = and when I tested, it looks like the default cordova create command will no= t make the folder. It only exists (so far in my testing) if I create a new = project and use --copy-from.=0A= =0A= Is there a reason why .cordova doesn't always exist? =0A= =0A= Worse comes to worse, I may just use some logic to see if platforms, plugin= s, and www exist as subdirectories.=0A=