Separating config.ini and osgi cache. [message #114093] |
Tue, 15 July 2008 05:17  |
Eclipse User |
|
|
|
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.
|
|
|
Re: Separating config.ini and osgi cache. [message #114528 is a reply to message #114093] |
Fri, 18 July 2008 14:35  |
Eclipse User |
|
|
|
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@novell.com> wrote in message
news:6c25e1d8e14273fce6ecd4fce4de105e$1@www.eclipse.org...
> 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.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02669 seconds