Bug 35395 - Working set on partial JRE selection not working [filters] [general issue]
Summary: Working set on partial JRE selection not working [filters] [general issue]
Status: RESOLVED DUPLICATE of bug 30442
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on:
Blocks:
 
Reported: 2003-03-20 14:30 EST by Knut Radloff CLA
Modified: 2003-04-25 04:00 EDT (History)
0 users

See Also:


Attachments
screen shot, workign set editor (148.05 KB, image/jpeg)
2003-03-24 14:43 EST, Knut Radloff CLA
no flags Details
screen shot showing empty project (135.81 KB, image/jpeg)
2003-03-24 14:44 EST, Knut Radloff CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Radloff CLA 2003-03-20 14:30:20 EST
build 20030319

In a workspace with at least one Java project:
1. create a Java working set
2. check one jar out of those shown as children of the project
3. close the working set selection dialog so that the new working set is used in
the package explorer
->The project is displayed but it has no children. It should show the selected
jar as a child of the "JRE System Library" element

4. edit the selected working set
5. check a different project (include the entire project in the working set)
6. close the edit dialog (the checked project is shown, in addition to the 
project from step 2)
7. edit the working set again and uncheck the project from step 5
8. close the edit dialog
->the view is empty. Editing the working set once more shows that no items are
selected. It appears that the item from step 2 was unchecked automatically even
though you only unchecked the project from step 5.
Comment 1 Dirk Baeumer CLA 2003-03-23 17:20:08 EST
The observation reported after step 3 can't be reproduced using RC3a. 

Can reproduce the observation reported after step 8. The problem is related to 
that fact the the rt.jat is shared accross different project so unchecking it 
logically unchecks it everywhere (reopening shows that it is indeed 
unchecked). This problem exists since we have working sets (has nothing to do 
with the new library node).

Although annoying I opt not to fix for 2.1 since JDT is based on sharing 
archives. Have to investigate how we can improve the Java working set.
Comment 2 Dirk Baeumer CLA 2003-03-23 18:08:46 EST
2.1 readme
Comment 3 Knut Radloff CLA 2003-03-24 13:45:15 EST
I can still reproduce #3 in RC3b. 
The JRE JARs are shown directly as children of the project in the Java working 
set edit dialog. Only if I select core.jar, do I see it in the package 
explorer. When I select graphics.jar or server.jar only the project is shown in 
the package explorer with no children.
Comment 4 Dirk Baeumer CLA 2003-03-24 14:27:31 EST
A few things:

- I tested it with rt.jar since it is rendered under the libraries container.
  Please note that only JRE jar are rendered under the container

Doing so (e.g selecting rt.jar) and applying the working set to the package 
explorer renders the correct structure.

Knut, what do you mean with core.jar, graphics.jar, ... 
Comment 5 Knut Radloff CLA 2003-03-24 14:43:23 EST
Created attachment 4328 [details]
screen shot, workign set editor

Sorry, I meant to attach screenshots. It seems you are using JDK 1.3. I'm using
1.4. 1.4 comes with a bunch of little jars.
Comment 6 Knut Radloff CLA 2003-03-24 14:44:36 EST
Created attachment 4329 [details]
screen shot showing empty project

Working set from first screen shot is selected here.
Comment 7 Dani Megert CLA 2003-04-25 04:00:10 EDT

*** This bug has been marked as a duplicate of 30442 ***