ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: Default libs included
Date Thu, 14 Dec 2000 18:19:59 GMT
At 05:12  14/12/00 -0000, Steve Loughran wrote:
>> 2. lib dirs other than $ANT_HOME/lib should ideally auotmagically sucked
>> into classpath
>> I think we can fix 2 by an addition to the scripts. Basically suck in all
>> jars in ./lib just like we do for $ANT_HOME/lib. This is likeable because
>> it is very common pattern among different projects
>it is common but I am a bit nervous about incorporating it into the standard
>script; people will get burned.

perhaps - maybe we wait for Ant2.0.

>Although I am not a fan of the whole way that Java expects you to alter env
>variables (or the way that WinNT, winME make that so hard), I could imagine
>a ANTLIBPATH variable which can contain wildcards and is used for the
>Set up ANTLIBPATH with "c:\java\lib\*.jar;.\lib\*.jar" and we could get the
>effect without having to hardcode so many assumptions into the scripts.

This just means you have to have a script file that sets ANTLIBPATH instead
of going "export CLASSPATH=`echo lib/*.jar | tr ' ' ':'`". Each means that
a script file is necessary ;(



| "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               |

View raw message