[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: Separating config.ini and osgi cache.

The only way for this to be possible is if the config.ini is in a read only 
folder. This will cause a "child" configuration area to be created that will 
be locaed by default on the user.home (or something like that)

"Srijith" <ksrijith@xxxxxxxxxx> wrote in message 
news:6c25e1d8e14273fce6ecd4fce4de105e$1@xxxxxxxxxxxxxxxxxx
> Hi,
>
>       I am trying to deploy an equinox based application. I have a 
> requirement where in I want all the configuration information to be stored 
> in one particular filesystem location, while any data which changes at 
> runtime kept in a separate partition. Therefore I want config.ini in one 
> location, whereas the osgi cache in a separate location. I tried using a 
> couple of the runtime options, but none of them seem to work for me. I 
> also read about cascaded configuration, but could not understand how it is 
> used.
>
> Simply put, my requirement is like this,
>
> I have config.ini in C:\Tests\Configuration
>
> In the command prompt, from C:\ , I run
>
> java -jar org.eclipse.osgi_3.4.jar -configuration C:\Tests\Configuration
> It generate the osgi cache and logs in C:\Tests\Configuration, but I want 
> it be on D:\Tests\Cache.
>
> Can this be done? If so how..? Any help would be greatly appreciated.
>
> Thanks,
> Srijith.
>
>