ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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. =
>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.


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

View raw message