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] New - bin\lcp.bat prepends Ant libraries to user's path
Date Tue, 27 Mar 2001 23:28:16 GMT
At 12:09  27/3/01 -0700, STEARNS,JIM (HP-FtCollins,ex1) wrote:
>OK, I grant you that after Step 2, deleting ant\lib\parser.java would 
>have been the smart move, a little less intrusive than modifying
>bin\lcp.bat.  But I'll have to remember to do that deletion every
>time I update ant binaries.

which is one of the reasons I don't think crimson should be packaged with
ant (and use of the ext dir should be universally banned). Crimson could be
included in download but it would be better if user was forced to manually
copy jars to correct location etc.

>I suggest the current lcp.bat introduces a trap for the uninitiated,
>and urge you to consider a solution to the empty classpath problem
>for ant builds that does not have such a significant side-effect.

Your fix does not alter the problem that the same library is included twice
in classpath. It just makes the problem harder to track down. I have seen
subtle bugs caused by things like this and thus can't see how it is any
better than current situation ;)


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