Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Using env var for default workspace in eclipse.ini
Using env var for default workspace in eclipse.ini [message #465233] Mon, 26 March 2007 15:15 Go to next message
Richard Koop is currently offline Richard KoopFriend
Messages: 15
Registered: July 2009
Junior Member
In my Eclipse 3.2.1 RCP app I'm currently specifying the default workspace using the following entry in my eclipse.ini for the RCP app.

-data H:/myApp

I want to use an environment variable called $HOME instead.

ie.
-data ${HOME}/myApp

I'm on Windows. How do I specify the environment variable? Is this possible?

I tried ${app.home}, ${home}, ${home}, $HOME and nothing worked.
Re: Using env var for default workspace in eclipse.ini [message #465241 is a reply to message #465233] Mon, 26 March 2007 16:43 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
You use %% for vars on windows. So, if there's a var called HOME set (and it's not guaranteed there will be, by the way) then it would be referenced as %HOME%.

Alex.
Previous Topic:IWorkbenchPage.isPartVisible() doesn't return true for a visible part
Next Topic:Export Feature produces empty bin directory
Goto Forum:
  


Current Time: Mon Oct 07 21:22:59 GMT 2024

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

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

Back to the top