skip to main | skip to sidebar

Monday, May 31, 2010

Changing Eclipse Workspace

Easy way to do this, go to “File->Switch Workspace”. This option will show you previously used workspaces. You can select workspace you want to use, if the one you want to use is listed in it. If not then select “Other” option. This will open “Workspace Launcher” dialog. This dialog will allow you to choose the directory which you want to use as workspace. Simple isn’t it!
Well the hard way of doing this – Open the “ECLIPSE_HOME/configuration/.settings” directory, in this directory you’ll find a file “org.eclipse.ui.ide.prefs”. Open this file using any text editor like Notepad/Wordpad. This file contains workspace related configuration. “SHOW_WORKSPACE_SELECTION_DIALOG” and “RECENT_WORKSPACES” are the ones concerned to changing workspace.
  • SHOW_WORKSPACE_SELECTION_DIALOG – This property will have either “true/false” value. If this property is set to true, then next time when you open eclipse, it’ll open “Workspace Launcher” dialog through which you can select the directory which you want to use as workspace.
  • RECENT_WORKSPACES – This property will have the path to the workspace directory. Specify the directory path which you want to use as workspace for this property and restart eclipse.

No comments:

Post a Comment