From 0b22496668700a4169bbf984e4ef63283b1add65 Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 1 Oct 2003 05:26:53 +0000 Subject: [PATCH] adding taskdefs/bin to classpath on command --- lib/ant/bin/ant | 5 +++++ 1 file changed, 5 insertions(+) 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"` -- 2.39.5