Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319144

Summary: [working sets] Renaming project removes it from working set
Product: [Eclipse Project] JDT Reporter: David M. Karr <davidmichaelkarr>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, francisu
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David M. Karr CLA 2010-07-07 11:14:26 EDT
Build Identifier: 20100617-1415

My package explorer shows my primary working set, and "Other Projects".  If I rename a project in my primary working set, it jumps from the primary working set to "Other Projects".  I then have to move it back to my primary working set.  It should stay in my primary working set.

Reproducible: Always

Steps to Reproduce:
1. Set top-level elements in Package Explorer to "Working Sets"
2. Create working set
3. Create project, putting it in working set.
4. Rename project to different name, it will now jump to the "Other Projects" area.
Comment 1 David M. Karr CLA 2010-07-07 11:21:41 EDT
Another related symptom that happens at the same time is that a "phantom" closed project with the old name is left in the original working set.  I say "phantom" because I can see from the file system that there is no project there.  If I then create another project with the old name (by doing a checkout from SVN), it silently removes the phantom closed project and replaces it with the newly created project
Comment 2 Dani Megert CLA 2010-07-07 11:30:51 EDT
The steps from comment 0 work fine for me using Eclipse SDK 3.6:
http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php

>3. Create project, putting it in working set.
Tried simple and Java project along with resource and Java working set.
Comment 3 David M. Karr CLA 2010-07-08 11:06:53 EDT
Well, I don't know what else to supply for information.  I now have several projects that seem to be duplicated in each of two working sets.
Comment 4 David M. Karr CLA 2010-07-08 11:49:30 EDT
Never mind on that last point, that's not an important issue, as I found I can easily edit the contents of the working set.