On Tue, Jun 2, 2009 at 4:37 AM, thron7 <[email protected]>wrote:
>
> But what I take away from this suggestion is changing the way
> "create-application.py" works. How does everybody feel about something
> like the following:
>
> - create-application receives another CL option to specify the cache,
> like --cache <path>.
> - if not supplied the cache path will default to "TMPDIR/cache", as it
> is now.
> - the cache direcotry will be made explicit in the config.json in the
> CACHE macro.
>
> Additionally, we could add an interactive mode to create-application:
> - if run interactively create-application might prompt for an answer
> whether the cache should be "local"/"global", "local" meaning the
> "./cache" directory from the application root.
> - if "global" is chosen, it will prompt for a path to the cache
> directory, maybe offering some suggestions that can be picked from,
> with again "TMPDIR/cache" as the default, "QOOXDOO_PATH/cache" as
> another one, and maybe "~/.qooxdoo/cache" as yet another one on *ix
> systems.
>
I like this idea of interactive mode a LOT. Also, an option to place the
cache in ~/.qooxdoo/cache is consistent with many Linux applications (e.g.
the mozilla cache goes in ~/.mozilla/somegarbagestring/cache).
I have one further request for create-application: have it read ~/.qooxdoorc
for default settings. The cache path could be provided in there, as could
options for "quiet" (the current -q) and "silent" (don't ask the interactive
questions described above; rather use defaults provided here in .qooxdoorc,
and if not found here, then in base.json).
There's some common place for the equivalent of "rc" (start-up
configuration) files on Windows too IIRC, but I don't remember where that
is. It'd be nice to have similar functionality on all platforms if possible.
Derrell
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel