Bug 20856

Summary: [ExternalTools] Preferences/Ant/Classpath inconsistency
Product: [Eclipse Project] Platform Reporter: Jon Christiansen <eclipse>
Component: AntAssignee: Luc Bourlier <eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Bernhard.Berbuir, Darin_Swanson
Version: 2.0Keywords: ui
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jon Christiansen CLA 2002-06-22 14:02:24 EDT
2 issues, if the first one is taken care of, then the second will go away.

#1 - You can enter the same jar file (or folder) multiple times, this probably 
isn't useful to allow.

#2 - If you have the same jar (or folder) in your list twice, if you highlight 
the second reference to the same jar or folder, and click on the remove 
button, the one that is hightlighted IS NOT removed, the first one is.

A good way to test/reproduce is to include the 
eclipse/plugins/org.apache.ant_1.4.1/ant.jar file again, so it shows up a 
second time at the end of the list, and then try deleting the one on the 
bottom of the list.
Comment 1 Darin Swanson CLA 2002-10-04 17:26:55 EDT
I have improved this but it is still possible to add duplicates if you add 
something that was precomputed for the default path.
Reason:
the urls that are generated differ.  The dialog for adding a jar returns a path 
with a capitalized drive letter.  The path from the plugin libraries has a 
lower case drive letter!
Comment 2 Darin Swanson CLA 2002-12-05 20:41:15 EST
Fixed in AntClasspathContentProvider.
Please verify (Luc)
Comment 3 Luc Bourlier CLA 2002-12-09 09:47:08 EST
Verified.
Please update the build notes (DarinS).