> 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. 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 think this adresses most concerns mentioned. It means, though, that you have to provide this information with every invocation of create-application. T. ------------------------------------------------------------------------------ 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
