Skip to main content



      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 11:15 Go to next message
Eclipse UserFriend
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 12:43 Go to previous message
Eclipse UserFriend
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: Thu Jul 03 14:54:12 EDT 2025

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

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

Back to the top