As the most common development tool in Java development, eclipse is familiar, but once you've done a lot of projects, you'll find that your eclipse's Package Explorer view shows much more project, At this point you may close some of the infrequently used project, or use working set to select only the number of projects you currently use, but the mind is still not very good, then you will want to set up an eclipse, and then put those infrequently used in a workspace below, Open that eclipse again when you're using it, but there's two or more eclipse, which makes up disk space, or not, and here's a simple way to easily manage multiple workspace with one eclipse.
The method is relatively simple and has two ways:
First Kind
1. Find a directory, create a new folder with the name Workspace_aaa
2. Then create a new TXT file in the current directory
3. Enter the following:
E:\eclipse-jee-galileo-win32\eclipse\eclipse.exe-data WORKSPACE_AAA
Description: The path to eclipse, preceded by "-data", followed by the path of the workspace
4. Save this TXT as Aaa.cmd
5. Double-clicking the Aaa.cmd,eclipse will start with WORKSPACE_AAA as the workspace.
The second Kind
1. Go to Eclipse's installation directory, mouse click Eclipse.exe, right-button menu--Send to desktop shortcut
2. Go to the desktop to find "eclipse.exe-shortcut", right-click on the View properties, pop-up menu select "Shortcut" tab, and then add the content in "target":-data E:\foo_workspace, save it
3. Double-click the shortcut and Eclipse will start using E:\foo_workspace as the workspace.
According to the above method, you can set up multiple workspace_xx and xxx.cmd, so that you want to start which workspace to double-click which cmd file or which shortcut to use, so it is very convenient for using and managing.
Go-eclipse Manage multiple workspace