ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [Bug 1126] - bin\lcp.bat prepends Ant libraries to user's path
Date Wed, 04 Jul 2001 14:48:10 GMT
On Thu,  5 Jul 2001 00:05, bugzilla@apache.org wrote:
> + Is there any reason to *not* implement the requested change?  The comment
> in the + ant script indicates it was changed to reflect the behaviour in
> the Windows + version (always prepend the jars to the classpath rather than
> append), but + according to this report, that wasn't always the case.

The reason not to do it is that it inhibits using ant with no CLASSPATH set 
because it can lead to empty entries at start of CLASSPATH var. The way it 
works now puts the possibly empty entries at end of CLASSPATH. Some JVMs stop 
reading CLASSPATH entries at first empty entry and thus would never see any 
of later entrys.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Mime
View raw message