Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA7B4C93E for ; Thu, 31 May 2012 20:36:23 +0000 (UTC) Received: (qmail 34201 invoked by uid 500); 31 May 2012 20:36:23 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 34131 invoked by uid 500); 31 May 2012 20:36:23 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 33894 invoked by uid 99); 31 May 2012 20:36:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 20:36:23 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mikeywbrooks@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 20:36:19 +0000 Received: by lbol5 with SMTP id l5so1208663lbo.6 for ; Thu, 31 May 2012 13:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=4BdXCEVR/jq9wCiWgmEXeyHar61LHcnIVdeMyLVuo+I=; b=f/KKdtOkCLUQWXEq8s9ptU5XZH8jzE6qIlLtgbkzG6oAfoFSqHeei3FspwsnJRangb 2BZEhOJDO4Guw/pjfTAr8/NbZopmI8JRuILSfdwxXuR7aT8S8JDYicx4KHuCI6yt+0Zg 2RY007wpM8RxYBwLn8jwgmfcDcCA/6XO6QeugtnzYY0//MEY25w0W+B4QBBk4sWHo4nK 3s+Gaw4gwXb5yNGs396/ESE5Y/5eLj4MVqE2hZk05be8/YHhc0rdIURDpLSOEwJV+Z99 2SDt6lbsD+8bjqGinQzfYw+Bfng6NQE8O1djiLpVBYUbMFCIkF5WRYlPKjajAzw4yTlg St0A== MIME-Version: 1.0 Received: by 10.152.148.170 with SMTP id tt10mr37328lab.48.1338496557271; Thu, 31 May 2012 13:35:57 -0700 (PDT) Sender: mikeywbrooks@gmail.com Received: by 10.114.9.228 with HTTP; Thu, 31 May 2012 13:35:57 -0700 (PDT) In-Reply-To: References: Date: Thu, 31 May 2012 13:35:57 -0700 X-Google-Sender-Auth: Y1TO8Gw6Mi5DXcLvqQogRNe1fkc Message-ID: Subject: Re: Command Line Tooling From: Michael Brooks To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8f22bb0bd4489104c15b03d3 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f22bb0bd4489104c15b03d3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Nice work Anis! Before we release 1.9, I'd be in favour of replacing `create` with `create2` (and renaming it). Michael On Thu, May 31, 2012 at 1:16 PM, Anis KADRI wrote: > Yes we can > > On Thu, May 31, 2012 at 1:04 PM, Joe Bowser wrote: > > > Cool. Can we put this in 1.9? > > > > On Thu, May 31, 2012 at 12:39 PM, Anis KADRI > wrote: > > > > > Hi guys, > > > > > > I did not want to mess with the current client tools for Android so I > > > created a new create script and called it create2. > > > > > > The advantages of my script compared to the current one: > > > - It's only one script. It doesn't use a hidden .cordova directory an= d > > > doesn't use a secondary create script to work. > > > - It can be run from anywhere in the filesystem and you don't have to > be > > in > > > the repository folder to run it. > > > - It checks if the android SDK tools are present in the user's PATH > > > - It has a usage helper > > > - It's not too verbose but verbose enough to know when something goes > > > wrong. > > > - It doesn't delete a project if it already exists. > > > - It cleans up after it's done and when it fails. > > > - It uses some simple templates and doesn't have the sed usage bug th= at > > the > > > current one has. (ie: it doesn't create an AndroidManifest.xml-e or > > > exampleActivity.java-e) > > > - ... probably more things that I have forgotten. > > > > > > It can easily replace the current one but I wanted to get it reviewed > > > first. > > > > > > > > > > > > https://github.com/imhotep/incubator-cordova-android/blob/master/bin/crea= te2 > > > > > > If you want to test it out just pull from the repository and run that > > > create2 script from anywhere. > > > > > > What do you guys think ? > > > > > > Anis > > > > > > On Thu, May 10, 2012 at 1:00 PM, Filip Maj wrote: > > > > > > > http://incubator.apache.org/cordova/ > > > > > > > > > > > > Click mailing list > > > > > > > > Send an email to all *-unsubscribe emails you see. > > > > > > > > On 5/10/12 12:51 PM, "Mike Flores" wrote= : > > > > > > > > > > > > > >How can I unsubscribe from all emails from apache?? > > > > > > > > > >On 5/10/12 4:49 AM, "Jan Becicka" wrote: > > > > > > > > > >>I'm sorry, I feel stupid=C5=A0 > > > > >>I simply don't see it. I use phonegap 1.7.0 from phonegap.com and > > it's > > > > >>default installation does not create any bin folder. > > > > >> > > > > >>I tried to find all "create" files on my disk and it is not here. > > > > >>I'm really confused, because I see, that the files are in the git > > > > >>repository, but it looks like they are not in phone gap binary > > > > >>distribution=C5=A0 > > > > >>Thanks, > > > > >>Jan > > > > >> > > > > >> > > > > >>> yup it does in ./bin, also keep an eye here: > > > > >>> https://issues.apache.org/jira/browse/CB-630 > > > > >>> > > > > >>> > > > > >>> On Fri, May 4, 2012 at 4:13 AM, Jan Becicka < > Jan.Becicka@seznam.cz > > > > > > > >>>wrote: > > > > >>> Hm, it looks like iOS does not have such tools=C5=A0 Or did I m= iss > > > > >>>something? > > > > >>> Regards, > > > > >>> Jan > > > > >>> > > > > >>> > > > > >>>> Every platform has its own set of CLI tools at the moment. > > > > >>>> > > > > >>>> See each platform's README file. Android and BlackBerry-webwor= ks > > > have > > > > >>>>the > > > > >>>> ones I am most familiar with. Android has a bash script that y= ou > > can > > > > >>>>use > > > > >>>> to create projects (./bin/create), and blackberry-webworks has= a > > > > >>>> cordova-level ant file (for creating projects, a la ant create > > > > >>>> -Dproject.path=3D~/myapp) and a project-level ant file for > > deploying, > > > > >>>> running on simulator, signing, etc. > > > > >>>> > > > > >>>> On 4/27/12 4:00 AM, "Patrick Mueller" > wrote: > > > > >>>> > > > > >>>> >On Fri, Apr 27, 2012 at 03:58, Jan Becicka < > > Jan.Becicka@seznam.cz> > > > > >>>>wrote: > > > > >>>> > > > > > >>>> >> I'm looking at > > > > >>>>http://wiki.apache.org/cordova/CommandLineToolingDesign > > > > >>>> >> and I'd like to ask for help. > > > > >>>> >> This document describes command line tool "cordova" but it > > looks > > > > >>>>like > > > > >>>> >>this > > > > >>>> >> tool is not distributed with phonegap. Is this tool already > > > > >>>>available > > > > >>>> >> somewhere or is the document just proposal for new tooling > > > support? > > > > >>>> >> If this is just a proposal, is it tracked somewhere? > > > > >>>> >> > > > > >>>> > > > > > >>>> >The document you referenced is just some thoughts I wrote dow= n > > once > > > > >>>>when I > > > > >>>> >had a bit of time to do so. There is no tool, just that > > document. > > > > >>>>The > > > > >>>> >proposal isn't tracked anywhere yet - I'm not a fan of > > > > >>>>super-long-lived > > > > >>>> >bug > > > > >>>> >reports; I was thinking more than once we settle on a design, > we > > > can > > > > >>>>start > > > > >>>> >writing bugs to implement it. > > > > >>>> > > > > > >>>> > > > > > >>>> >> Or is there any other command line tool for creating cordov= a > > > > >>>>projects? > > > > >>>> >> > > > > >>>> > > > > > >>>> >There are some command-line tools available with some > platforms - > > > I'm > > > > >>>>not > > > > >>>> >familiar with them, someone else can chime in on those. > > > > >>>> > > > > > >>>> >-- > > > > >>>> >Patrick Mueller > > > > >>>> >http://muellerware.org > > > > > > > > > > > > > > > > > > > > > > > > --e89a8f22bb0bd4489104c15b03d3--