Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to export Working Set in Eclipse

Tags:

eclipse

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

How to reproduce:

  • Start with a blank workspace.
  • Create a Java project.
  • Assign the project to a new Java Working Set.
  • File -> Export -> Team -> Team Project Set.
  • Check "Export working sets".
  • Click "Select All".

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.

like image 389
Sundae Avatar asked Mar 22 '23 10:03

Sundae


1 Answers

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.

like image 129
allprog Avatar answered Mar 31 '23 18:03

allprog