ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick (Gus) Heck" <patrick.h...@olin.edu>
Subject Re: Can't submit bugfix because of JDK 1.1 issues
Date Fri, 28 Jun 2002 21:12:26 GMT
  
> Getting it compiling only takes me so far, though, at least under Windows
> 2000 whether I am running cygwin, 4NT, or CMD. It appears that any tests
> which use BuildFileTest are failing because the base directory used when
> executing the buildfile tasks is the top level jakarta-ant directory rather
> than the directory where the buildfile lives.

I seem to remember having a similar problem with my symlink task
submission. I had to patch the build.sh to make it work. This is what I
used (and is submitted with the task though I have unsubmitted it for
the moment so I can fix a problem I found.)

I presume something similar should be done for the windows world...

this is what I included:

===================================================================
RCS file: /home/cvspublic/jakarta-ant/build.sh,v
retrieving revision 1.27.2.2
diff -u -r1.27.2.2 build.sh
--- build.sh	28 May 2002 00:33:35 -0000	1.27.2.2
+++ build.sh	30 May 2002 17:52:57 -0000
@@ -9,7 +9,8 @@
 esac
 
 REALANTHOME=$ANT_HOME
-ANT_HOME=bootstrap
+OUR_LOCATION=`pwd`
+ANT_HOME=$OUR_LOCATION/bootstrap
 export ANT_HOME
 
 if test ! -f bootstrap/lib/ant.jar -o  ! -x bootstrap/bin/ant -o ! -x
bootstrap/bin/antRun ; then

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message