tags:

views:

62

answers:

2

I have created a couple of java working sets for a project in my workspace and want to share them with other people (using different workspaces). Is there a way to export them?

+1  A: 

You can try and export (as in "copy to another people workspace metadata directory"):

</path/to/.metadata>\.plugins\org.eclipse.ui.workbench\workingsets.xml

This is the file referencing your working sets.

VonC
Can someone else working on the project then import that file somehow?
Scobal
@Scobal: someone else can work, then copy that file in his workspace (and restart Eclipse). But if he had defined its own working sets, that means he needs to *merge* your file in his in order to not override its own current working sets.
VonC
I'm hoping there's a way to check that file into svn and from a clean checkout just import the working sets file (rather than having to copy it into a workspace), which in turn brings in the referenced projects.
Scobal
@Scobal: I agree, but right now, I didn't find a clean way to do an export/import. I would be curious to know if copying that file in another workspace works though.
VonC
+2  A: 

Hi,

download the AnyEdit addon:

Description | Download page

and then use the following work through:

  1. Via the menu bar: File > “Export…”
  2. Select “General” / “Working Sets”
  3. Click “Next >”
  4. Select the working set(s) you want to export and where you want to export the file.
  5. Click “Finish” to perform the export.

sample

henchman
@henchman - I found that website before asking my question here. I don't see an option for "Working Sets" under "General"
Scobal
hm.. added a point the user forgot to tell us :-)
henchman