Richard S. Hall wrote:
I am going to be making some changes to how Felix creates bundle caches.

Currently, when you create an instance of Felix it needs one of the following pieces of information to create a bundle cache:

   * Profile name - in which case it creates a directory named after
     the profile name inside the default "~/.felix" profile directory
     for caching bundles (you can also specify a cache directory and a
     profile name) or
   * Profile directory - in which case it caches the bundles in the
     specified directory directly.

The change that I want to make is so that it is possible to start Felix without specifying any information, in which case it would default to creating a bundle cache directory (e.g., "felix-cache") in the current working directory.
I definitely like the idea of starting Felix without specifying any profile information, but I don't like programs writing to CWD. It's very easy to forget to delete such directories and several such directories are scattered through out the file system. A better alternative is to write to either a default directory inside felix installation directory or in /tmp. More over, when Felix is started without any profile or cache dir information, the default behavior should be to flush the cache upon restart. So, may be Felix can create a temporary cache dir at startup and deleting it at program exit.

Thanks,
Sahoo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to