Create a new workspace in Eclipse

EclipseWorkspace

Eclipse Problem Overview


I don't see any menu item I can use to create a new workspace.

What should I use to create a new workspace and move some of the projects from existing default workspace to a new workspace?

I am using Windows with Eclipse 3.7.

Eclipse Solutions


Solution 1 - Eclipse

I use File -> Switch Workspace -> Other... and type in my new workspace name.

New workspace composite screenshot (EDIT: Added the composite screen shot.)

Once in the new workspace, File -> Import... and under General choose "Existing Projects into Workspace. Press the Next button and then Browse for the old projects you would like to import. Check "Copy projects into workspace" to make a copy.

Solution 2 - Eclipse

In Window->Preferences->General->Startup and Shutdown->Workspaces, make sure that 'Prompt for Workspace on startup' is checked.

Then close eclipse and reopen.

Then you'll be prompted for a workspace to open. You can create a new workspace from that dialogue.

Or File->Switch Workspace->Other...

Solution 3 - Eclipse

You can create multiple workspaces in Eclipse. You have to just specify the path of the workspace during Eclipse startup. You can even switch workspaces via File→Switch workspace.

You can then import project to your workspace, copy paste project to your new workspace folder, then

File→Import→Existing project in to workspace→select project.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionBigUserView Question on Stackoverflow
Solution 1 - Eclipserajah9View Answer on Stackoverflow
Solution 2 - EclipserevdrjrrView Answer on Stackoverflow
Solution 3 - EclipseNirbhay MishraView Answer on Stackoverflow