ProjectSync

ProjectSync commands under Eclipse Projects menu

Organize your Eclipse projects

Auto-import projects. Per-working-set folders.

• Ideal when working with several code repositories.

• Automatically imports projects and assigns working sets.

• Automatically moves new projects into per-working-set folders of your choice (see screenshots below for folder layout).

Latest release: ProjectSync 1.2.1.

Installation

Download ProjectSync 1.2.1. Unpack into “dropins/” subfolder of your Eclipse.

Verified to work with Eclipse 3.5 M5 and Eclipse 3.4. Might also work with 3.3 if you put only the jars into your “plugins/” folder instead.

ProjectSync folder layout

Set up folders on the file system:

• Create a folder named Working Sets.

• For each working set you wanna have, create a subfolder.

• Check out your repositories into corresponding subfolders.

(Of course, symlinks to other folders will do just fine — Mac, Linux and Windows all support symlinks.)

Choose “Project > ProjectSync: Configure folder...”, and specify the folder you've created on the previous step.

Now, when you choose “Project > ProjectSync: Add Missing and Move Misplaced Projects”, two things will happen:

1) Projects that exist on disk but not in your workspace will be imported and added to the corresponding working sets. (Or simply added to the working sets, if they already exist but are not in the working sets.)

2) Projects that are added to a working set managed by ProjectSync but are located in the workspace root folder (that is, newly created projects) will be moved (on disk) to the correct folder. (They are removed from Eclipse, moved to the correct folder and then re-added to Eclipse.)

Enjoy!

ProjectSync configuration

Source Code & License

This project is licensed under the Eclipse Public License. The source code is available in a Git repository at GitHub.

Browse and report issues into our bug tracker at Lighthouse.

You can also e-mail any issues/comments/concerns to Andrey Tarantsov directly, or talk to a live person in our Web-based Support Chatroom.

Tip: Multiple subfolders of a working set folder

ProjectSync scans the folder of each working set up to a depth of three subfolders, looking for projects. So to put several repositories into a single working set, just put several subfolders into the working set folder.

How does ProjectSync decide where to move the newly created projects if there are several subfolders of a working set folder?

1) If there exists a subfolder (presumably a symlink) named “default”, the project will be moved there.

2) If there is exactly one subfolder that is not a project, the newly created project will be moved there.

3) Else, the newly created project will be moved to the working set folder itself.