From b2bbaffc4d9c12cccfcc70bfea940a6f6be1f886 Mon Sep 17 00:00:00 2001
From: Peter Reilly
+ Windows Note: + | +|
+ | + The ant.bat script makes use of three environment variables - + ANT_HOME, CLASSPATH and JAVA_HOME. Ensure that if + these variables are set, they do not have quotes (either + ' or ") and they do not end with \ or with /. + | +
+ Linux Note: + | +|
+ |
+ A jpackage rpm version of ant may be installed on your machine,
+ say as part of install of Fedora Core 3. If another version
+ of ant is installed, the rpm version will take
+ priority. This is due to the fact that ant bash script file
+ dot includes the /etc/ant.conf file from the jpackage distribution.
+ The current version of this file (sept 2006) overwrites the
+ ANT_HOME environment variable. If this happens, ant will
+ issue a warning. To fix this, modify the line in /etc/ant.conf
+ + ANT_HOME=/usr/share/ant
+ + to be + + ANT_HOME=${ANT_HOME:-/usr/share/ant} .
+ |
+
Ant supports a number of optional tasks. An optional task is a task which typically requires an external library to function. The optional tasks are