Thursday, March 06, 2008

Changing Eclipse Workspace Directory

Recently I moved my entire Eclipse installation directory but the workspace was still getting created in the older location only. And worst there was no option to select the Workspace directory in the Window->Options->Workspace menu.

To change the workspace location in Eclipse do this. Goto ECLIPSE_HOME\configuration\.settings directory, edit the org.eclipse.ui.ide.prefs file and change the RECENT_WORKSPACES value to the desired location.

If you want that Eclipse prompts you to select workspace when you start it, change the SHOW_WORKSPACE_SELECTION_DIALOG value to true.

And you are done!

10 comments:

Sebastian Ganslandt said...

Gee, that was well hidden. Thanks for the help!

Smitha said...

Eclipse allows you to change by going to Windows -->Preferences --> Editors --> Startup and Shutdown. Here select the check box to prompt for workspace. You can see details in the below site

http://sites.google.com/site/javaerrorsandsolutions/home/eclipse-workspace-switching

Tyler said...

File > Switch Workspace

Denzil said...

Open two eclipes windows a prompt will open to chose a new workspace for the second instance of the application pick one and set it as your default

Killer Bee said...

wow!!

thanks that was really hidden .
thanks a lot.

the_Namesake said...

Thanks a lot.. that was really helpful

Gnanam said...

thank u

privatestaticid said...

I agree with tyler..
i do so.

Vass said...

I also agree with Tyle

roff said...

In Eclipse Gallileo workspace directory can be changed in

Windows->Preferences->General->Startup and Shutdown->Workspaces