incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Brooks <mich...@michaelbrooks.ca>
Subject Re: Command Line Tooling
Date Thu, 31 May 2012 20:35:57 GMT
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 <anis.kadri@gmail.com> wrote:

> Yes we can
>
> On Thu, May 31, 2012 at 1:04 PM, Joe Bowser <bowserj@gmail.com> wrote:
>
> > Cool.  Can we put this in 1.9?
> >
> > On Thu, May 31, 2012 at 12:39 PM, Anis KADRI <anis.kadri@gmail.com>
> 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 and
> > > 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 that
> > 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/create2
> > >
> > > 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 <fil@adobe.com> 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" <mikeflores2000@gmail.com> wrote:
> > > >
> > > > >
> > > > >How can I unsubscribe from all emails from apache??
> > > > >
> > > > >On 5/10/12 4:49 AM, "Jan Becicka" <Jan.Becicka@seznam.cz> wrote:
> > > > >
> > > > >>I'm sorry, I feel stupidÅ 
> > > > >>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Å 
> > > > >>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Å  Or did I
miss
> > > > >>>something?
> > > > >>> Regards,
> > > > >>> Jan
> > > > >>>
> > > > >>>
> > > > >>>> Every platform has its own set of CLI tools at the moment.
> > > > >>>>
> > > > >>>> See each platform's README file. Android and BlackBerry-webworks
> > > have
> > > > >>>>the
> > > > >>>> ones I am most familiar with. Android has a bash script
that you
> > 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=~/myapp) and a project-level ant file
for
> > deploying,
> > > > >>>> running on simulator, signing, etc.
> > > > >>>>
> > > > >>>> On 4/27/12 4:00 AM, "Patrick Mueller" <pmuellr@gmail.com>
> 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 down
> > 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 cordova
> > > > >>>>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
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message