Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Separating config.ini and osgi cache.
Separating config.ini and osgi cache. [message #114093] Tue, 15 July 2008 09:17 Go to next message
Srijith is currently offline SrijithFriend
Messages: 6
Registered: July 2009
Junior Member
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 18:35 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
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.
>
>
Previous Topic:Programmatically setting an update site
Next Topic:IInstallFeatureOperation vs. P2
Goto Forum:
  


Current Time: Thu Apr 25 19:46:55 GMT 2024

Powered by FUDForum. Page generated in 0.04389 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top