ant-user mailing list archives

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

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

Ant won't automatically do that.... you have to have <property
file="build.properties"/> 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.

    Erik



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