ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: test environment variable and if statement
Date Wed, 06 Feb 2002 12:27:58 GMT
----- Original Message -----
From: "Ray Tayek" <>

> i was just looking at cactus's build.xml. seems like ant will pick up a
> in your current directory first.

Ant won't automatically do that.... you have to have <property
file=""/> specified for that to happen.

> >As for junit.jar - it really should live in ANT_HOME/lib (or system
> >classpath) since Ant's VM needs it for <junit>.
> the cactus docs say it must.

Well, thats a bit of an overstatement - thats the simplest and most
recommended way (i.e. run Ant without a system classpath, put things like
junit.jar in ANT_HOME/lib), but if you set a system classpath with junit.jar
in it and do not put it in ANT_HOME/lib its still the same effect.
ant.bat/.sh pick up ANT_HOME/lib automatically and put it in the system
classpath before launching Ant, thats why its special.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message