Re: create and override of default template

2013-10-28 Thread Ray Camden
Ok, thanks for the update Michal. On 10/28/13, 3:05 PM, "Michal Mocny" wrote: >Great that we cleared this up. > >FWIW, there *is* already an issue for it ( >https://issues.apache.org/jira/browse/CB-4153) and I linked it in my >original reply. Its about replacing the initial www/ template, and y

Re: create and override of default template

2013-10-28 Thread Michal Mocny
Great that we cleared this up. FWIW, there *is* already an issue for it ( https://issues.apache.org/jira/browse/CB-4153) and I linked it in my original reply. Its about replacing the initial www/ template, and you can do this today with a roundabout way by supplying a config into the "cordova.cre

Re: create and override of default template

2013-10-28 Thread Ray Camden
Hmm. Ok, I *did* log a bug report for this already, and I think I just assumed that this (https://issues.apache.org/jira/browse/CB-4652) was a copy and mine was a dupe. Unfortunately now I can’t find it. So… I’ll file a new one. Sorry for the confusion folks! On 10/28/13, 1:46 PM, "Ian Clelland"

Re: create and override of default template

2013-10-28 Thread Ian Clelland
On Mon, Oct 28, 2013 at 2:17 PM, Ray Camden wrote: > I disagree completely. Why does cordova need to know about the platform? > Right now when I make a virgin project, before I add *any* platform, there > is a default project created. All we want (well, ok, all I want ;) is the > ability to overr

Re: create and override of default template

2013-10-28 Thread Brian LeRoux
Indeed, the CLI should not care about the platform. The ./cordova/create script is very concerned with platform. That is where our impedance mismatch exists. =) We need ALL platforms to allow for this capability in ./cordova/bin/create before we can surface in the CLI. That would be the next step.

Re: create and override of default template

2013-10-28 Thread Ian Clelland
Mon, Oct 28, 2013 at 1:44 PM, Michael Sierra > wrote: > > > > > Please assign doc fix to me, thanks. Am going to try to keep CLI doc > > from > > > spinning out of control the more features you guys add to it. ;-) > > > > > > --Mike Sierra > >

Re: create and override of default template

2013-10-28 Thread Ray Camden
I disagree completely. Why does cordova need to know about the platform? Right now when I make a virgin project, before I add *any* platform, there is a default project created. All we want (well, ok, all I want ;) is the ability to override that so I can have a ³blank² project as opposed to the he

Re: create and override of default template

2013-10-28 Thread Ray Camden
So I am *completely* lost then. Can you explain what the config.json file is? I¹ve never heard of it. On 10/28/13, 12:56 PM, "Ian Clelland" wrote: >To be clear, as Michal said, the `cordova` CLI tool *does not* support >this >directly; only indirectly, as part of the config.json file. > >The "fo

Re: create and override of default template

2013-10-28 Thread Michal Mocny
gt; > ________ > > From: Ray Camden [rayca...@adobe.com] > > Sent: Friday, October 25, 2013 4:57 PM > > To: dev@cordova.apache.org > > Subject: Re: create and override of default template > > > > I saw it listed under Apache as w

Re: create and override of default template

2013-10-28 Thread Ian Clelland
> From: Ray Camden [rayca...@adobe.com] > Sent: Friday, October 25, 2013 4:57 PM > To: dev@cordova.apache.org > Subject: Re: create and override of default template > > I saw it listed under Apache as well. > > Going to file a bug in a minute -

RE: create and override of default template

2013-10-28 Thread Michael Sierra
@cordova.apache.org Subject: Re: create and override of default template I saw it listed under Apache as well. Going to file a bug in a minute - let me try this feature first. On 10/25/13 1:38 PM, "Shazron" wrote: >Yup, file a doc issue - but I'm not sure if this is a cross-platform >th

Re: create and override of default template

2013-10-25 Thread Ray Camden
So I just tried this: cordova create foo1 org.camnde.foo foo ./pgtemplate And cordova completely ignored the 4th argument. Did I do it wrong? On 10/25/13 3:57 PM, "Ray Camden" wrote: >I saw it listed under Apache as well. > >Going to file a bug in a minute - let me try this feature first. > >O

Re: create and override of default template

2013-10-25 Thread Ray Camden
I saw it listed under Apache as well. Going to file a bug in a minute - let me try this feature first. On 10/25/13 1:38 PM, "Shazron" wrote: >Yup, file a doc issue - but I'm not sure if this is a cross-platform >thing, >or iOS only for now: >https://git-wip-us.apache.org/repos/asf?p=cordova-ios

Re: create and override of default template

2013-10-25 Thread Ray Camden
On 10/25/13 1:46 PM, "Michal Mocny" wrote: >When you run create from cli, you aren't adding any platforms, and you >would need to specify an override for each platform. That isn't the issue though. By default. PG creates a default app. The whole point of this feature was to let a developer ski

Re: create and override of default template

2013-10-25 Thread Michal Mocny
When you run create from cli, you aren't adding any platforms, and you would need to specify an override for each platform. This can be accomplished by editing your .cordova/config.json file after running cordova create, or by calling cordova.config(...) from node. This should be documented, and

Re: create and override of default template

2013-10-25 Thread Shazron
Yup, file a doc issue - but I'm not sure if this is a cross-platform thing, or iOS only for now: https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=blobdiff;f=bin/create;h=244c8a9c1f9264fa11e0a6ebb43336070d40e644;hp=461392e22e6e221cf61d6b87da356b5cf95bf3f2;hb=4375681;hpb=609e8828107a84e5e7