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

Bug 239919

Summary: JARs in the buildpath no more filtered in Add JARs dialog
Product: [Eclipse Project] JDT Reporter: Mauro Molinari <mauromol>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Mauro Molinari CLA 2008-07-08 03:01:50 EDT
Suppose I have a project with n JARs in one of its folders, and that m of them (m<n) are in the project's own build path.

In Eclipse 3.3 when I did a Java Build Path | Libraries | Add JARs, the selection dialog did not show the JARs that were already in the project build path, so I could see just the (n-m) JARs missing and select from them.

In Eclipse 3.4, I always see all the n JARs, so I can even select a JAR that is already in the project build path and, if I do, Eclipse still adds that JAR to the build path, so that it then appears twice!

I think the view should be filtered and, if the IDE wants to let the user to add a JAR to the build path more than once (although I can't think of a good reason for this), it should at least provide a checkbox to disable that filter (that should be on by default, as was in Eclipse 3.3).
Comment 1 Dani Megert CLA 2008-07-08 03:23:53 EDT

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