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 4A883D9F8 for ; Tue, 5 Mar 2013 19:40:04 +0000 (UTC) Received: (qmail 27660 invoked by uid 500); 5 Mar 2013 19:40:04 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 27636 invoked by uid 500); 5 Mar 2013 19:40: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 27628 invoked by uid 99); 5 Mar 2013 19:40:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 19:40: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 gibson.becky@gmail.com designates 209.85.217.182 as permitted sender) Received: from [209.85.217.182] (HELO mail-lb0-f182.google.com) (209.85.217.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 19:39:58 +0000 Received: by mail-lb0-f182.google.com with SMTP id gg6so5154831lbb.27 for ; Tue, 05 Mar 2013 11:39:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=+Fy3M7XsCseoaR+MgJByFa/wKeZRReE1fkwkvRK34iY=; b=cPnSWL/xY28gnAv2TnfZX3bFe6Y0DzfMmk5a6+6VjsVBZPBboqeoSfQ8nIsar2LCnd LOjbzIws2c+bU7wcig5QZ9FFcPv4cgjx+wJvOBsXZZJgC+eNWJONDS0YV2U5Y/TfW7/G NDnI+c9UecWrObO/KH7lwdLd7CeHP9hCSOIQfjpIG90GhAMnK/o9/Oozp2E3jBoblmYe nqfWHRy3YRSJiEC8z1tL5HFj+P7VLLB2oozkD0nxzbPzFfxMQhcC6KOchEfArnN6ep/n JnJKYAsoQKoUnHxN8PK2u6TB93/v2y/xfV4hB0VVbEUr0gOnBs16Vx8z0ID4DJU3IzVj xHJQ== MIME-Version: 1.0 X-Received: by 10.152.109.208 with SMTP id hu16mr22650947lab.45.1362512377490; Tue, 05 Mar 2013 11:39:37 -0800 (PST) Received: by 10.112.139.36 with HTTP; Tue, 5 Mar 2013 11:39:37 -0800 (PST) Date: Tue, 5 Mar 2013 14:39:37 -0500 Message-ID: Subject: Issues with CLI From: Becky Gibson To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=bcaec54eef8c43329d04d732a230 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54eef8c43329d04d732a230 Content-Type: text/plain; charset=ISO-8859-1 I played around a bit with cordova-cli and have a few comments and questions. I think a bit more detail in the instructions would resolve most of my issues. I think I am a fairly good test subject with respect to Android since I am not familiar with the SDK and don't use it much. I also haven't used npm and am not familiar with the file layout so I couldn't (easily) rely on poking through the cordova-cli files to answer my questions. Also, defining the audience for cli and the cli documentation might make some of these issues moot. 1. Although I could easily figure it out from the note about changing ownership of the cordova directory, it would help to state up front the directory where cordova will be installed. 2. What version of Cordova is being installed - next, master or can I specify a specific version as a parameter to npm? 3. After installation I was a bit surprised to see that I was good to go for Blackberry Webworks development until I realized that it is all Web technology! 4. There should probably be some links about how to get set up for iOS, Android, and BB development. We certainly don't need to explain the nuances of iOS certificates and provisioning profiles but we do need to point newbies to a link (provided we are targeting iOS/Android/BB development newbies). I got hung up on needing to setup my Android tablet for development before I could run from the command line and had to spend a bit more time jogging my memory about basic Android setup. 5. Why is it just cordova.js in each of the platform repos rather than including the version number as we normally do? I blindly copied the mobile-spec into my www directory and since it relies on its own cordova.js to set up the version number the back button in the tests no longer worked. This is a minor point since I could easily modify mobile-spec to use a different technique. However, I suspect the technique used in mobile-spec may be commonly used by multi-platform app developers. It also might be useful to keep the platform name of the cordova file in the platform specific directories just to make it clear which is which. 6. OK, it may seem dumb but it took me awhile to find the create command. I had to scroll through all of the documentation to the samples to see that it is cordova create. 7. I haven't tried any plugins yet..... my two cents, -becky --bcaec54eef8c43329d04d732a230--