Next: Cygwin Users
Up: Running Ant
Previous: Files
Contents
Index
The wrapper scripts use the following environment
variables (if set):
- JAVACMD - full path of the Java executable. Use this to invoke a
different JVM than JAVA_HOME/bin/java(.exe).
- ANT_OPTS - command-line arguments that should be passed to the JVM. For example, you can
define system properties or set the maximum Java heap size here.
- ANT_ARGS - Ant command-line arguments. For example, set ANT_ARGS to point to a different logger, include a listener, and to include the -find flag. Note: If you include -find in ANT_ARGS, you should include the name of the build file to find, even if the file is called build.xml.
Andrew Marlow
2003-07-08