Re: Directory Structure - CLI directory config proposal

2014-08-28 Thread Carlos Santana
...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: Wednesday, August 27, 2014 2:02 PM To: dev Subject: Re: Directory Structure - CLI directory config proposal Hmm, maybe we don't actually need these to be configurable. If cordova-lib just stopped containing hardcoded paths

Re: Directory Structure - CLI directory config proposal

2014-08-28 Thread Victor Sosa
: Directory Structure - CLI directory config proposal Hmm, maybe we don't actually need these to be configurable. If cordova-lib just stopped containing hardcoded paths, and all modules required paths as inputs, then cordova-cli would have one pre-defined expected directory structure

RE: Directory Structure - CLI directory config proposal

2014-08-28 Thread Treggiari, Leo
again, then this is a good reason! Leo -Original Message- From: Victor Sosa [mailto:sosah.vic...@gmail.com] Sent: Thursday, August 28, 2014 9:42 AM To: dev@cordova.apache.org Subject: Re: Directory Structure - CLI directory config proposal Are users actually using IBM Worklight IDE

Re: Directory Structure - CLI directory config proposal

2014-08-27 Thread Michal Mocny
@cordova.apache.org Subject: RE: Directory Structure - CLI directory config proposal It is the latter. The idea is that there is a default directory structure that shall be defined by Cordova CLI, and the IDE can modify it, call tasks like prepare or compile directly from cordova-lib. The IDE

RE: Directory Structure - CLI directory config proposal

2014-08-27 Thread Treggiari, Leo
, 2014 2:02 PM To: dev Subject: Re: Directory Structure - CLI directory config proposal Hmm, maybe we don't actually need these to be configurable. If cordova-lib just stopped containing hardcoded paths, and all modules required paths as inputs, then cordova-cli would have one pre-defined expected

RE: Directory Structure - CLI directory config proposal

2014-08-26 Thread Parashuram Narasimhan (MS OPEN TECH)
: Treggiari, Leo [mailto:leo.treggi...@intel.com] Sent: Thursday, August 21, 2014 6:45 AM To: dev@cordova.apache.org Subject: RE: Directory Structure - CLI directory config proposal Is the flexible directory structure being proposed so that the CLI can conform to a directory structure defined by the IDE

RE: Directory Structure - CLI directory config proposal

2014-08-26 Thread Treggiari, Leo
To: dev@cordova.apache.org Subject: RE: Directory Structure - CLI directory config proposal It is the latter. The idea is that there is a default directory structure that shall be defined by Cordova CLI, and the IDE can modify it, call tasks like prepare or compile directly from cordova-lib. The IDE

RE: Directory Structure - CLI directory config proposal

2014-08-21 Thread Treggiari, Leo
To: dev@cordova.apache.org Subject: RE: Directory Structure - CLI directory config proposal Should the platform/plugin save/restore take care of the ability to restore platforms? That way, though the platforms folder is discernable, we do not have to necessarily delete it. The goal of able to re-create

RE: Directory Structure - CLI directory config proposal

2014-08-20 Thread Parashuram Narasimhan (MS OPEN TECH)
, 2014 12:50 PM To: dev@cordova.apache.org Subject: Re: Directory Structure - CLI directory config proposal I don't want to dramatically increase the scope of this thread, but I'm wondering if this is the opportunity to get the platforms dir to be 100% generated and discardable between app builds

Re: Directory Structure - CLI directory config proposal

2014-08-19 Thread Marcel Kinard
I don't want to dramatically increase the scope of this thread, but I'm wondering if this is the opportunity to get the platforms dir to be 100% generated and discardable between app builds. The goal being that then there is a clean line of what devs should check into SCM and what is in their

RE: Directory Structure - CLI directory config proposal

2014-08-18 Thread Parashuram Narasimhan (MS OPEN TECH)
: Directory Structure - CLI directory config proposal I can see the value but have found configurable path look ups tend to be very fragile. (The more config the more variable paths create more opportunities for weird side effects.) I echo the sentiment that we need to be 100% certain

RE: Directory Structure - CLI directory config proposal

2014-08-11 Thread Parashuram Narasimhan (MS OPEN TECH)
Subject: Re: Directory Structure - CLI directory config proposal I like the way it looks now, but I would argue that we need to take it another step further and make it a CordovaProject class that should only be instantiated once and contain all the info of ProjectMeta + most of the info passed

Re: Directory Structure - CLI directory config proposal

2014-08-11 Thread Carlos Santana
To: dev@cordova.apache.org Subject: Re: Directory Structure - CLI directory config proposal I like the way it looks now, but I would argue that we need to take it another step further and make it a CordovaProject class that should only be instantiated once and contain all the info of ProjectMeta

Re: Directory Structure - CLI directory config proposal

2014-08-11 Thread Jesse
Seacat DeLuca [mailto:ldel...@us.ibm.com] Sent: Thursday, July 10, 2014 11:50 AM To: dev@cordova.apache.org Subject: Re: Directory Structure - CLI directory config proposal I didn't have anything in mind as far as where the settings could be made available. I was more

Re: Directory Structure - CLI directory config proposal

2014-08-11 Thread Brian LeRoux
Koudritsky [mailto:kam...@google.com] Sent: Monday, August 11, 2014 7:56 AM To: dev@cordova.apache.org Subject: Re: Directory Structure - CLI directory config proposal I like the way it looks now, but I would argue that we need to take it another step further and make

RE: Directory Structure - CLI directory config proposal

2014-08-10 Thread Sergey Grebnov (Akvelon)
To: dev@cordova.apache.org Subject: Re: Directory Structure - CLI directory config proposal I didn't have anything in mind as far as where the settings could be made available.  I was more broaching the subject to see if it's possible or if there would be a lot of code rewrite to make it work.  I'm

Re: Directory Structure - CLI directory config proposal

2014-07-10 Thread Lisa Seacat DeLuca
:Re: Directory Structure - CLI directory config proposal On Tue, Jul 08, 2014 at 09:02:03AM -0400, Michal Mocny wrote: Lets see what Lisa had in mind, but I always assumed it fit into .cordova/config.json. Do you consider the contents of .cordova/config.json to be shared among developers

Re: Directory Structure - CLI directory config proposal

2014-07-08 Thread Andrew Grieve
. -Original Message- From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: Monday, July 7, 2014 7:52 AM To: dev Subject: Re: Directory Structure - CLI directory config proposal I'd like to see this happen. Specifically, I would like to see support

Re: Directory Structure - CLI directory config proposal

2014-07-08 Thread Michal Mocny
7, 2014 7:52 AM To: dev Subject: Re: Directory Structure - CLI directory config proposal I'd like to see this happen. Specifically, I would like to see support for a directory structure like this: MyApp/ cordova_components/ platforms/ plugins/ bower_components

Re: Directory Structure - CLI directory config proposal

2014-07-08 Thread Gorkem Ercan
on a proposal, we can contribute with code too. -Original Message- From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: Monday, July 7, 2014 7:52 AM To: dev Subject: Re: Directory Structure - CLI directory config proposal I'd like to see

Directory Structure - CLI directory config proposal

2014-07-07 Thread Lisa Seacat DeLuca
I wanted to start a discussion on this dev list about potentially adding a config setting for the CLI that defines the directory structure to use for creating and building cordova projects. There are many products that are built on top of Cordova that have different directory structures than

Re: Directory Structure - CLI directory config proposal

2014-07-07 Thread Andrew Grieve
Which paths do you want to be configurable? On Mon, Jul 7, 2014 at 10:41 AM, Lisa Seacat DeLuca ldel...@us.ibm.com wrote: I wanted to start a discussion on this dev list about potentially adding a config setting for the CLI that defines the directory structure to use for creating and

Re: Directory Structure - CLI directory config proposal

2014-07-07 Thread Michal Mocny
I'd like to see this happen. Specifically, I would like to see support for a directory structure like this: MyApp/ cordova_components/ platforms/ plugins/ bower_components/... node_modules/... ...Rest of contents of MyApp are basically www/ And this cannot use a symlink from

RE: Directory Structure - CLI directory config proposal

2014-07-07 Thread Parashuram Narasimhan (MS OPEN TECH)
+1 to this proposal. If we are able to agree on a proposal, we can contribute with code too. -Original Message- From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: Monday, July 7, 2014 7:52 AM To: dev Subject: Re: Directory Structure - CLI directory