Import/Export of Eclipse 3.2.x Working sets Hack!

Java
Max Rydahl Andersen

For some reason Eclipse Working Set's definitions are not exportable from Eclipse (see Eclipse Bug #156041 and #138854.

We should fix that, but until then the following hack can be used to ease the pain of migration between two setups:

  1. Setup your new Eclipse and import all the projects you want to have in it
  2. Stop Eclipse
  3. cd [old-workspace]/.metadata cp workingsets.xml [new-workspace]/.metadata/.plugins/org.eclipse.ui.workbench
  4. Start Eclipse with a -clean argument


After this all the shared projects between old and the new eclipse that you had grouped into working sets will now also be grouped in the new eclipse.

That saved a couple of hours/days of my time, so here it is for you ;)