No. The ant script is broken with respect to locating ANT_HOME as a
relative entity. They restore the path AFTER they try to cd with a relative
path, instead of before, so they are in the wrong directory when they issue
the cd.
Please rollback this change, and submit the ANT patch.
--- Noel
Index: tools/bin/ant
===================================================================
RCS file: /home/cvspublic/jakarta-james/tools/bin/ant,v
retrieving revision 1.3
diff -u -r1.3 ant
--- tools/bin/ant 26 Sep 2002 22:05:11 -0000 1.3
+++ tools/bin/ant 26 Sep 2002 22:42:18 -0000
@@ -63,10 +63,11 @@
ANT_HOME=`dirname "$PRG"`/..
+ # need to restore position BEFORE we can cd with a ".."
+ cd $saveddir
+
# make it fully qualified
ANT_HOME=`cd "$ANT_HOME" && pwd`
-
- cd $saveddir
fi
# set ANT_LIB location
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>