In the case of the felix.cache.dir it should be the path to the dir _not_ a url i.e.:
java -Dfelix.cache.dir=/tmp/usb/sda1 should work. regards, Karl On Tue, Oct 28, 2008 at 5:18 PM, chihi asma <[EMAIL PROTECTED]> wrote: > Thanks karl for your quick reply. > I tried this > java -Dfelix.cache.dir=file:/tmp/usb/sda1 but it doesn't work should I > change anything else? > > Best Regards > > Asma > > > > > ________________________________ > De : Karl Pauls <[EMAIL PROTECTED]> > À : [email protected] > Envoyé le : Mardi, 28 Octobre 2008, 16h17mn 29s > Objet : Re: Re : Felix on read-only filesystem > > You can use the following properties: > > felix.cache.dir - Sets the directory to be used by the bundle cache as > its cache directory. The cache directory is where all profile > directories are stored and a profile directory is where a set of > installed bundles are stored. By default, the cache directory is > .felix in the user's home directory. If this property is specified, > then its value will be used as the cache directory instead of .felix. > This directory will be created if it does not exist. > > felix.cache.profile - Sets the profile name that will be used to > create a profile directory inside of the bundle cache directory. The > created directory will contain all installed bundles associated with > the profile. > > felix.cache.profiledir - Sets the directory to use as the profile > directory for the bundle cache; by default the profile name is used to > create a directory in the .felix bundle cache directory (more > precisely ${felix.cache.dir}/${felix.cache.profile}). If the > felix.cache.profiledir property is specified, then the cache directory > and profile name properties are ignored since they are only used to > calculate the profile directory. The specified value of the profile > directory property is used directly as the directory to contain all > cached bundles. This directory will be created if it does not exist. > > regards, > > Karl > > On Tue, Oct 28, 2008 at 3:53 PM, chihi asma <[EMAIL PROTECTED]> wrote: >> Hi karl, >> >> I have the same problem expect that I can write on the usb disk. >> So, how can I let felix create the cache on it (usb disk)? >> >> Best Regards, >> >> Asma >> >> >> >> >> ________________________________ >> De : Karl Pauls <[EMAIL PROTECTED]> >> À : [email protected] >> Envoyé le : Lundi, 27 Octobre 2008, 18h39mn 34s >> Objet : Re: Felix on read-only filesystem >> >> On Mon, Oct 27, 2008 at 6:07 PM, Paul <[EMAIL PROTECTED]> wrote: >>> Le Monday 27 October 2008 17:38:56 Karl Pauls, vous avez écrit : >>>> well, could you write on the usb disk? You could install the bundles >>>> by reference which will leave you with a very small amount of data in >>>> the cache ... >>> >>> No I can't write on the usb disk itself. >> >> Ok, well, then the only thing left seems to be to have a look at >> org/apache/felix/framework/cache/*.java (in the framework subproject) >> and try to implement a cache that is in memory. Again, not all bundles >> will work without a cache (i.e., file system access) but depending on >> your project this might be the way to go. Furthermore, we would be >> very interested in this implementation if you get it done :-) >> >> regards, >> >> Karl >> >>> Thanks a lot for your time Karl. >>> >>> Paul >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> >> -- >> Karl Pauls >> [EMAIL PROTECTED] >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > > -- > Karl Pauls > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Karl Pauls [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

