Community
Participate
Working Groups
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.
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.
2.1 readme
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.
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, ...
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.
Created attachment 4329 [details] screen shot showing empty project Working set from first screen shot is selected here.
*** This bug has been marked as a duplicate of 30442 ***