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 shaz...@gmail.com wrote: Yup, file a doc issue - but I'm not sure if this is a cross-platform thing

Re: create and override of default template

2013-10-28 Thread Ian Clelland
...@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 - let me try this feature first. On 10/25/13 1:38 PM, Shazron shaz...@gmail.com wrote: Yup

Re: create and override of default template

2013-10-28 Thread Michal Mocny
@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 shaz...@gmail.com wrote: Yup, file a doc issue - but I'm not sure

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 iclell...@chromium.org wrote: To be clear, as Michal said, the `cordova` CLI tool *does not* support this directly; only indirectly, as part of the

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

Re: create and override of default template

2013-10-28 Thread Ian Clelland
you guys add to it. ;-) --Mike Sierra 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

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

Re: create and override of default template

2013-10-28 Thread Ian Clelland
On Mon, Oct 28, 2013 at 2:17 PM, Ray Camden rayca...@adobe.com 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

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 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

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 mmo...@chromium.org 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/

create and override of default template

2013-10-25 Thread Ray Camden
According to (http://cordova.apache.org/blog/releases/2013/10/02/cordova-31.html), you can now override the default template when creating a project. From what I can see this isn't documented when I run cordova at the command line. Should I file a bug report for that? Also, I assume the command

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:

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 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 shaz...@gmail.com wrote: Yup, file a doc issue - but I'm not sure if this is a cross-platform thing, or iOS only for now:

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 rayca...@adobe.com wrote: I saw it listed under Apache as well. Going to file a bug in a minute - let me try this