On Tue, 2 Jun 2009, thron7 wrote: >> I guess there is no real good default solution for this problem. But, you >> could actually ask the user at installation time of the SDK whether s/he >> wants to have a global cache directory and if so, where it should be. >> This directory could then be created during installation with the >> appropriate (/tmp-like) permissions. And then set the default config.json >> setting appropriately. > > I wouldn't want to touch the SDK installation at the moment, which is > really just an unzip. Adding a real installation procedure would require a > complete new feature being established.
I see. That's why svn co trunk works as well as the standard "installation". > 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. Sounds reasonable to me. > 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. Sounds good and if useful for people not creating new applications on a daily basis ... ;-) > - 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 am not sure about ~/... this would only make sense for a "project account", I guess, and that would seem like a rather poor choice to me in a real development environment where people hopefully will use SVN or something similar rather than a shared directory ... > I think this adresses most concerns mentioned. It means, though, that you > have to provide this information with every invocation of > create-application. I don't think that many people will run create-application all that often (see above). Cheers, Fritz -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ 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
