Eclipse resolve environment variables [message #870624] |
Wed, 09 May 2012 02:40  |
Eclipse User |
|
|
|
Hi,
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...
Thanks,
-Sam
|
|
|
|
Powered by
FUDForum. Page generated in 0.03500 seconds