cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: Some thoughts/questions on the new --save feature
Date Thu, 05 Mar 2015 15:22:42 GMT
By default, they do not get created unless they have non-default values.
This is usually only applicable if you use the js interface of cordova-lib
and not the command line cli, but possibly doing things like specifying a
custom plugin search path will create the file?

On Thu, Mar 5, 2015 at 7:43 AM, Raymond Camden <raymondcamden@gmail.com>
wrote:

> I found this doc, https://wiki.apache.org/cordova/ConfigurationFiles,
> which mentions that you can have a .cordova/config.json in projects
> and your user dir. I don't have them in either location. Does that
> mean - by default - they don't exist until I make one?
>
> If so - where is the documentation showing possible settings?
>
> On Thu, Mar 5, 2015 at 6:34 AM, Raymond Camden <raymondcamden@gmail.com>
> wrote:
> > Definitely - once I find the file. ;)
> >
> > On Tue, Mar 3, 2015 at 12:20 PM, Michal Mocny <mmocny@chromium.org>
> wrote:
> >> Worthy of a blogpost, Ray!
> >>
> >> On Tue, Mar 3, 2015 at 1:17 PM, Victor Sosa <sosah.victor@gmail.com>
> wrote:
> >>
> >>> Good to know this trick. .. Thanks, Gorkem!
> >>>
> >>> 2015-03-03 12:14 GMT-06:00 Gorkem Ercan <gorkem.ercan@gmail.com>:
> >>>
> >>> >
> >>> > You can enable auto save by adding auto_save_plugins to be true on
> the
> >>> > .cordova/config.json file. I think this helps with the case 1
> >>> > --
> >>> > Gorkem
> >>> >
> >>> >
> >>> >
> >>> > On 3 Mar 2015, at 9:27, Raymond Camden wrote:
> >>> >
> >>> >  1) Is there any reason why --save isn't true by default? It would
> seem
> >>> >> that in a majority of cases I'd want to save my plugins to the
> >>> >> configuration file. I definitely see times when I would *not* want
> to
> >>> >> do so, but it seems like that would be the minority of cases.
> >>> >>
> >>> >> 2) This is probably an edge case, but...
> >>> >>
> >>> >> One of the things I do when building Cordova examples is put up
my
> www
> >>> >> folder in a repo. My thinking is that my readers can grab the repo,
> >>> >> and then make a new project and use --copy-from to grab the folder.
> >>> >> This gives them my www crap and lets them go crazy.
> >>> >>
> >>> >> For plugins, I've been using a readme file to tell users what to
do.
> >>> >>
> >>> >> I'd like to make use of this new feature to persist plugins and
save
> >>> >> users at least one step. (In theory they would just need to add
the
> >>> >> platform they want to test on.)
> >>> >>
> >>> >> But in order to do so, I can't just ship the www folder, I have
to
> >>> >> ship an entire Cordova project. That isn't a big deal per se, but
it
> >>> >> does mean they would need to copy a folder manually, possibly modify
> >>> >> the app id, and then start working on the assets.
> >>> >>
> >>> >> Given that I think my use case is probably pretty minor, is there
> some
> >>> >> thought as to how one could distribute sample code and make use
of
> >>> >> this feature?
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >> ============================================================
> >>> >> ===============
> >>> >> Raymond Camden, Developer Advocate for MobileFirst at IBM
> >>> >>
> >>> >> Email : raymondcamden@gmail.com
> >>> >> Blog : www.raymondcamden.com
> >>> >> Twitter: raymondcamden
> >>> >>
> >>> >>
> ---------------------------------------------------------------------
> >>> >> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>> >> For additional commands, e-mail: dev-help@cordova.apache.org
> >>> >>
> >>> >
> >>> > ---------------------------------------------------------------------
> >>> > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> >>> > For additional commands, e-mail: dev-help@cordova.apache.org
> >>> >
> >>> >
> >>>
> >>>
> >>> --
> >>> Victor Adrian Sosa Herrera
> >>> IBM Software Engineer
> >>> Guadalajara, Jalisco
> >>>
> >
> >
> >
> > --
> >
> ===========================================================================
> > Raymond Camden, Developer Advocate for MobileFirst at IBM
> >
> > Email : raymondcamden@gmail.com
> > Blog : www.raymondcamden.com
> > Twitter: raymondcamden
>
>
>
> --
> ===========================================================================
> Raymond Camden, Developer Advocate for MobileFirst at IBM
>
> Email : raymondcamden@gmail.com
> Blog : www.raymondcamden.com
> Twitter: raymondcamden
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>

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