ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@mediaone.net>
Subject Re: ant & junit works on win98, fails on deadrat 6.2
Date Tue, 29 Jan 2002 15:26:49 GMT
At 04:05 PM 1/29/02 +0100, you wrote:
>On Tue, 29 Jan 2002, Ray Tayek <rtayek@mediaone.net> wrote:
> > At 03:08 PM 1/29/02 +0100, you wrote:
>
> >>The rule of thumb for all optional tasks that require external
> >>libraries is: if the definition of the task is part of the system
> >>CLASSPATH, all libraries it needs have to be on the system CLASSPATH
> >>as well.
> >
> > by system classpath, i assume you mean the $CLASSPATH environment
> > variable. to avoid confusion, i did not set this.
>
>$CLASSPATH plus everything that is inside of $ANT_HOME/lib as the
>wrapper script (ant) implicitly adds everything inside of
>$ANT_HOME/lib to $CLASSPATH before invoking Java.
>
>Stefan

ok, that makes sense. when i do a debug, i see a:

Setting project property: java.class.path -> 
/usr/ant/lib/optional.jar:/usr/ant/lib/junit.jar:/usr/ant/lib/ant.jar:/usr/jdk/lib/tools.jar

so he is picking up the junit.jar that i dropped into the ant hole.

thanks

---
ray tayek http://home.earthlink.net/~rtayek/
actively seeking telecommuting work
orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message