ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: where to keep jar files
Date Fri, 07 Aug 2009 05:03:54 GMT
>using scripts to start my ant files, f.e. =
>
>windows
>set JAVA_HOME=C:\java\jdk\1.6.0_15
>set ANT_HOME=C:\ant
>set ANT_ARGS=-lib C:\ant_xtralibs;C:\ant_testlibs
>set PATH=%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;C:\cvsnt


Using the -lib option to load additional libraries has another benefit.
There are some libs which must be loaded before Ant (e.g. BSF, js, xml)
starts parsing the buildfile.

ANT_ARGS is a special environment variable. Its content is automatically
added to the invocation of Ant.


Jan

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


Mime
View raw message