Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse resolve environment variables
Eclipse resolve environment variables [message #870624] Wed, 09 May 2012 06:40 Go to next message
Samuel Malone is currently offline Samuel MaloneFriend
Messages: 1
Registered: May 2012
Junior Member

I'm wondering whether it's possible for Eclipse to resolve environment variables in the .ini file or via the command line.

I want osgi.configuration.area to resolve to a windows environment variable (LOCALAPPDATA). I know that I could use @user.home, but I'm already doing that and my user's home drives are network drives and the startup time and application performance are severely affected (startup takes over 2 minutes!).

I'd prefer not to have to hardcode a file location in my product definition as I would prefer to keep install locations separate for each user, and my application is also running across three Windows flavours (XP, Vista, and 7).

I attempted and quickly abandoned trying to change the configuration location programmatically in my Application class startup method but quickly found once it's been set you can't unset/reset it... or can you?

Anyone know if this is possible? Or got any other suggestions? Maybe I'll just have to bite the bullet and hard code the install location like an amatuer...


Re: Eclipse resolve environment variables [message #871006 is a reply to message #870624] Thu, 10 May 2012 14:12 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Wouldn't you use a script or something and pass in -Dosgi.configuration.area ?


Previous Topic:hide minimize/maximize button in views
Next Topic:Missing requirement
Goto Forum:

Current Time: Mon May 28 01:49:03 GMT 2018

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

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

Back to the top