Change Eclipse Workspace Location
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/single.php on line 19
// June 2nd, 2011 // Posted in Eclipse
Sometimes I need to change my Eclipse “workspace” location. Especially when I share it between Linux & OSX. I’m using Eclipse Galileo (Eclipse 3.5) in this example although these applies to Helios (Eclipse 3.6) as well.
To my knowledge there are two ways to change the location.
- On Linux: From your Eclipse installed location, open the file “configuration/config.ini“. In my case Eclipse is installed in my home directory so I open “~/eclipse/configuration/config.ini“.
- On OSX: Go to Applications/eclipse/configuration/ and open the file “config.ini“.
- On Linux: From your Eclipse installed location, open the file “configuration/.settings/org.eclipse.ui.ide.prefs“. Since Eclipse is installed in my home directory so I open “~/eclipse/configuration/.settings/org.eclipse.ui.ide.prefs“. In that file edit the entry “SHOW_WORKSPACE_SELECTION_DIALOG=false” and make it to “SHOW_WORKSPACE_SELECTION_DIALOG=true“
- On OSX: Go to Applications/eclipse/configuration/.settings and open the file “org.eclipse.ui.ide.prefs“. In that file edit the entry “SHOW_WORKSPACE_SELECTION_DIALOG=false” and make it to “SHOW_WORKSPACE_SELECTION_DIALOG=true“
In that file, edit the entry “osgi.instance.area.default=@user.home/workspace”
Below is my favorite way of doing it which is triggering the Eclipse dialog box asking me the location of “workspace”.
configuration/.settings doesn’t seem to excist in Eclipse Indigo
Thanks, this still works great in Eclipse 3.7.2
Works in Eclipse Juno, too! :)
Awesome, thanks Pietra :)
Thanks mate. You saved my day!!!