Bug 373031 - It seems working Sets are not working on Eclipse Indigo SR2
Summary: It seems working Sets are not working on Eclipse Indigo SR2
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2012-03-01 19:04 EST by Jose Guerra CLA
Modified: 2013-06-19 11:10 EDT (History)
3 users (show)

See Also:


Attachments
No working sets selected (81.02 KB, image/png)
2012-03-03 06:38 EST, Jose Guerra CLA
no flags Details
Working set OCS selected. (106.58 KB, image/png)
2012-03-03 06:46 EST, Jose Guerra CLA
no flags Details
Packages not in working set are showing up in search results. (441.96 KB, image/png)
2013-02-11 13:41 EST, Mikel Waxler CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Guerra CLA 2012-03-01 19:04:46 EST
Build Identifier: 20120216-1857

Feature looks kind of broken in somehow. 
When you add projects to the working set and you select "Working Sets" view on the project explorer, all the projects show up duplicated. If you de-select the working sets, they show up ok in this panel.

This is not happening to me on previous versions so I presume it can be broken this feature.

Reproducible: Always

Steps to Reproduce:
1.Create a new Java working set
2.Create several Java projects.
3.Add the projects to the working set.
4.On the project exploerer select "Top Level Elements" -> "Working Sets".
5.On the project explorer the top level it will show up with the working set icon plus all the Java projects it shouldn't show up at this level. If you expand the working set element, you get the a list of duplicated projects as well.
Comment 1 Dani Megert CLA 2012-03-02 05:03:28 EST
I cannot reproduce this using your steps and the official 3.7.2 build:
http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/index.php
Comment 2 Jose Guerra CLA 2012-03-03 06:38:40 EST
Created attachment 212018 [details]
No working sets selected
Comment 3 Jose Guerra CLA 2012-03-03 06:46:02 EST
Created attachment 212019 [details]
Working set OCS selected.

I added two screen shots. First shot it shows up my eclipse workspace with no working set selected. The second shot you see my workspace with OCS working set selected. Multiple copies of the projects show up underneath of the working set.
Maybe I am doing something wrong or my workspace is messed up in somehow, but this is not happening to me with the SR1 release.

My build id is :20120216-1857
Running on Ubuntu 10.04 

$java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
Comment 4 Dani Megert CLA 2012-03-12 09:48:59 EDT
(In reply to comment #3)
> Created attachment 212019 [details]
> Working set OCS selected.
> 
> I added two screen shots. First shot it shows up my eclipse workspace with no
> working set selected. The second shot you see my workspace with OCS working set
> selected. Multiple copies of the projects show up underneath of the working
> set.
> Maybe I am doing something wrong or my workspace is messed up in somehow, but
> this is not happening to me with the SR1 release.

It looks like you also have some other plug-ins installed which might cause the problem. If you can't provide steps based on a concrete install (please link to it) and a clean workspace, then there's not much we can do.
Comment 5 Jose Guerra CLA 2012-03-14 18:12:30 EDT
Yes, I've installed the OEPE and subclipse plugins but I am not sure yet whether they are related with this.

With those plugins installed, I've created a new workspace from scratch and I create a bunch of Java and JavaEE projects. It seems to me that there is something wrong when you pick up Java EE perspective.
As long as you I have the "Java" perspective, my working set looks ok, but when I switched to the "Java EE" perspective I got everything twice underneath of the working set.
Can you replicate the case?.
Comment 6 Dani Megert CLA 2012-03-15 04:06:10 EDT
(In reply to comment #5)
> Yes, I've installed the OEPE and subclipse plugins but I am not sure yet
> whether they are related with this.
> 
> With those plugins installed, I've created a new workspace from scratch and I
> create a bunch of Java and JavaEE projects. It seems to me that there is
> something wrong when you pick up Java EE perspective.
> As long as you I have the "Java" perspective, my working set looks ok, but when
> I switched to the "Java EE" perspective I got everything twice underneath of
> the working set.
> Can you replicate the case?.

Sorry, I neither have OEPE nor sublcipse nor J2EE tooling installed, but from your last comment this looks like a bug in J2EE tooling. They already have a similar bug (bug 351764.
Comment 7 Dani Megert CLA 2012-03-15 04:06:30 EDT
Nitin, is this a related issue?
Comment 8 Mikel Waxler CLA 2013-02-11 13:40:35 EST
They seem to be completely broken on my machine as well.

MacOS, See attached screen shot.
Comment 9 Mikel Waxler CLA 2013-02-11 13:41:26 EST
Created attachment 226859 [details]
Packages not in working set are showing up in search results.