Bug 20856 - [ExternalTools] Preferences/Ant/Classpath inconsistency
Summary: [ExternalTools] Preferences/Ant/Classpath inconsistency
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Luc Bourlier CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-06-22 14:02 EDT by Jon Christiansen CLA
Modified: 2002-12-09 09:47 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).