Bug 52556 - Remove check for duplicate entries on local classpath
Summary: Remove check for duplicate entries on local classpath
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.8.2
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: 1.8.3
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 09:26 UTC by tradej
Modified: 2012-01-31 18:11 UTC (History)
1 user (show)



Attachments
Proposed patch to fix the problem (672 bytes, patch)
2012-01-30 09:26 UTC, tradej
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tradej 2012-01-30 09:26:49 UTC
Created attachment 28223 [details]
Proposed patch to fix the problem

Checking for duplicate entries on local classpath in src/script/ant, line 180, causes problems when in a file located in ant.d, a subsequent entry is a substring of a previous one; such as having 'ant/ant-antlr antlr' results in antlr not being put on local classpath. Would it be admissible for you to drop this test entirely?

Related discussion can be found at https://bugzilla.redhat.com/show_bug.cgi?id=755325

Patch attached.

Thank you, TR
Comment 1 Jesse Glick 2012-01-31 18:11:41 UTC
Committed revision 1238725.