Sundae
Sundae

Reputation: 744

Unable to export Working Set in Eclipse

I can't export my Working Set in Eclipse Juno.

How to reproduce:

Then I get the following error: "None of the selected working sets have an available project to export."

What does it mean? Have I missed something? I thought that "Export Team Project Set" was the official way to share a Working Set.

Upvotes: 4

Views: 2887

Answers (2)

allprog
allprog

Reputation: 16790

No plugin is needed to. You should delete the provider element from the exported .psf file and you are done. The beginning of the file should look like the snippet and then should contain all your working sets.

<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
<workingSets editPageId="org.eclipse.ui.resourceWorkingSetPage" id="1393963554943_5" label="firstworkingset" name="firstworkingset">

If someone imports the projects and then this prepared Team Project Set, then only the sets will be set up but the projects aren't imported again. For a real example, check out the psf file in the Xtext repo.

Upvotes: 4

greg-449
greg-449

Reputation: 111217

This will only export projects which have been added to a source control system (SVN, GIT, CVS...). Eclipse will try and check out the projects listed in the psf when it is imported.

There is no simple Export Working Set in Eclipse but see this answer for a plug-in that adds this.

Upvotes: 3

Related Questions