aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ant/bin/ant5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ant/bin/ant b/lib/ant/bin/ant
index 22174b986..ce9e4393a 100644
--- a/lib/ant/bin/ant
+++ b/lib/ant/bin/ant
@@ -170,6 +170,11 @@ if $usejikes; then
ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
fi
+# defined to be able to test taskdefs immediately
+if [ -n "$USE_TASKDEFS" ] ; then
+ LOCALCLASSPATH="$ANT_HOME/../../taskdefs/bin;$LOCALCLASSPATH"
+fi
+
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
ANT_HOME=`cygpath --path --windows "$ANT_HOME"`