diff options
author | wisberg <wisberg> | 2003-10-01 05:26:53 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-10-01 05:26:53 +0000 |
commit | 0b22496668700a4169bbf984e4ef63283b1add65 (patch) | |
tree | 93f68bec32c2349d2b104ceb9470b2bb616f8c6b | |
parent | 50c4883bf47070933f4431c47c1fc5a8779e2477 (diff) | |
download | aspectj-0b22496668700a4169bbf984e4ef63283b1add65.tar.gz aspectj-0b22496668700a4169bbf984e4ef63283b1add65.zip |
adding taskdefs/bin to classpath on command
-rw-r--r-- | lib/ant/bin/ant | 5 |
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"`
|