Bug 408056 - 'Plug-ins and Fragments' working not supported as top-level working set in Package Explorer
Summary: 'Plug-ins and Fragments' working not supported as top-level working set in Pa...
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-05-14 15:23 EDT by Beth Tibbitts CLA
Modified: 2013-05-17 17:26 EDT (History)
3 users (show)

See Also:


Attachments
Screen shot of working set not existing but can't be created (275.97 KB, image/png)
2013-05-14 17:22 EDT, Beth Tibbitts CLA
no flags Details
existing workingsets.xml that will not allow 'rdt.sync' working set (31.82 KB, text/xml)
2013-05-16 09:06 EDT, Beth Tibbitts CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Tibbitts CLA 2013-05-14 15:23:31 EDT
Using 4.3M7 Eclipse classic

I had a large workspace with several working sets.
In the past I remember i created one working set that then didn't appear, but when i tried to recreate it, it said it already existed.
So i think i just invented one called let's say another-name.
But I lived with it.  (I think this has happened once or twice in the distant past, too. Not just Kepler)

Now i just rebooted and restarted eclipse on same ws,
and all the working sets are gone - EXCEPT for another-name.

Help! Where did all my working sets go?
Comment 1 Curtis Windatt CLA 2013-05-14 15:49:13 EDT
Were these java working sets?  If so, you can manage them from the package explorer view.  From the view drop down menu, select Configure Working Sets...  

You may also need to change the top-level item.  From the package explorer view drop down menu > Top Level Elements > Working Sets.

This doesn't appear to be bug, so it would be more appropriate to ask questions like this in the forums.  http://www.eclipse.org/forums/
Comment 2 Beth Tibbitts CLA 2013-05-14 17:22:37 EDT
Created attachment 230986 [details]
Screen shot of working set not existing but can't be created
Comment 3 Beth Tibbitts CLA 2013-05-14 17:23:39 EDT
I tried all that. I have many workspaces with lots of working sets, i love them. but every once in a while a workspace's working sets get messed up.

That seems to be the case here.

If this really is a dumb user error, I'll be relieved actually, but it really doesn't feel like that.
Comment 4 Curtis Windatt CLA 2013-05-14 18:01:40 EDT
Reopening and moving to JDT UI.  Maybe they have seen this before.
Comment 5 Dani Megert CLA 2013-05-16 08:37:24 EDT
Are those working sets Resource, Java or some other kind of working sets?

The working sets are stored here:
<your workspace>\.metadata\.plugins\org.eclipse.ui.workbench\workingsets.xml
Maybe that file is corrupt. Can you attach it here?

Is there anything in the .log?

*** This bug has been marked as a duplicate of bug 309656 ***
Comment 6 Beth Tibbitts CLA 2013-05-16 09:06:46 EDT
Created attachment 231081 [details]
existing workingsets.xml that will not allow 'rdt.sync' working set
Comment 7 Beth Tibbitts CLA 2013-05-16 09:16:25 EDT
I have re-created several working sets in the workspace (sorry).

I don't see anything in the .log that jumps out at me related to working sets.
I believe they are java working sets.  Most/all of my projects are plugin projects.

Indeed, if i delete the two items that reference rdt.sync - at top and bottom of workingsets.xml (attached) , i can now create the working set that i could not create before - it said it already existed but it was not visible.
Comment 8 Dani Megert CLA 2013-05-17 07:35:36 EDT
(In reply to comment #6)
> Created attachment 231081 [details]
> existing workingsets.xml that will not allow 'rdt.sync' working set

The file itself is not corrupted. When I use it, I see all working sets. Probably because none of the reference projects exist in my test workspace.
Comment 9 Dani Megert CLA 2013-05-17 07:36:45 EDT
(In reply to comment #8)
> (In reply to comment #6)
> > Created attachment 231081 [details]
> > existing workingsets.xml that will not allow 'rdt.sync' working set
> 
> The file itself is not corrupted. When I use it, I see all working sets.
> Probably because none of the reference projects exist in my test workspace.

We would need to have access to your workspace to do something here, or you go ahead and debug it yourself.
Comment 10 Markus Keller CLA 2013-05-17 12:22:29 EDT
(In reply to comment #2)
> Created attachment 230986 [details]
> Screen shot of working set not existing but can't be created

The problem here is that "rdt.sync" is a "Plug-ins and Fragments" working set. This working set type is not supported as top-level working set in the Package Explorer, that's why it doesn't show up in the "Configure Working Sets" dialog.

To remove or rename that working set, either go to the Navigator view or switch the Package Explorer to "Top Level Elements > Projects". Then choose "Select Working Set...".


> Now i just rebooted and restarted eclipse on same ws,
> and all the working sets are gone - EXCEPT for another-name.

I can't explain that, and I've never seen that.
Comment 11 Beth Tibbitts CLA 2013-05-17 14:46:22 EDT
That must have been it, I must have been in Navigator when i hit the "new working set" button back when.  Perhaps also when the rest didn't show up.

But knowing the location of the workingsets.xml, i was able to delete the
entries for rdt.sync and now all is well.  I also still don't know why they disappeared - I recreated them.

Thanks for the explanation.  Nothing in the UI tells you that 'plugins and fragments' working sets are not visible in the package explorer, where i usually live. I usually make working sets from Pkg Explorer, and it's choosing the type of 'Java' for me so I didn't notice which type it was - it just worked.
i'm now aware... thanks!
Comment 12 Beth Tibbitts CLA 2013-05-17 14:48:21 EDT
P.S. I don't think my problem had anything to do with switching workspaces, as described in 309656.