With Ant 1.5.2, this error doesn't occur. Since they have the newer version.
Attached is (sad) attempt to patch this in BUILDING.txt. I also took out the download xalan step since I successfully built tomcat 5 on a with jdk14, ant1.5.2, while (accidentally) skipping the download xalan step. Is xalan still needed in the $ANT_HOME/lib directory?
I also added a blurb about the ant download task.
-Tim
Index: BUILDING.txt =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-5/BUILDING.txt,v retrieving revision 1.30 diff -u -r1.30 BUILDING.txt --- BUILDING.txt 26 Nov 2002 09:09:21 -0000 1.30 +++ BUILDING.txt 6 Mar 2003 12:39:55 -0000 @@ -25,25 +25,28 @@ into which you installed the JDK release. -(1) Install Apache Ant 1.5.1 on your computer +(1) Install Apache Ant 1.5.2 on your computer -* If Apache Ant 1.5.1 is already installed on your computer, skip to (2). +* If Apache Ant 1.5.2 is already installed on your computer, skip to (2). +* If you have Ant 1.5.1. Replace xmi-apis.jar and xercesImpl.jar with + version xerces-2_3_0 (or better). This is optional, if you do not + do this, the precompilation steps and the end of the build will fail. (1.1) Download and Install the Ant Binary Distribution -* Download a binary distribution of Ant 1.5.1 from: +* Download a binary distribution of Ant 1.5.2 from: - http://jakarta.apache.org/builds/jakarta-ant/release/v1.5.1/bin/ + http://ant.apache.org/bindownload.cgi On a Windows platform, you will need: - jakarta-ant-1.5.1-bin.zip + jakarta-ant-1.5.2-bin.zip On a Unix platform, you will need: - jakarta-ant-1.5.1-bin.tar.gz + jakarta-ant-1.5.2-bin.tar.gz * Unpack the binary distribution into a convenient location so that the Ant release resides in its own directory (conventionally named - "jakarta-ant-1.5.1"). For the purposes of the remainder of this document, + "jakarta-ant-1.5.2"). For the purposes of the remainder of this document, the symbolic name "${ant.home}" is used to refer to the full pathname of the release directory. @@ -52,26 +55,6 @@ available, which will be used to actually perform the build. -(1.2) Download and Install the Xalan 2 Distribution - -* Download a binary distribution of version 2.x from: - - http://xml.apache.org/dist/xalan-j/ - - On a Windows platform, you will need: - Xerces-J-bin.2.x.y.zip - - On a Unix platform, you will need: - Xerces-J-bin.2.x.y.tar.gz - -* Unpack the binary distribution into a convenient location so that the - distribution resides in its own directory (conventionally named - "xalan-2_x_y"). - -* Copy the xalan.jar file from that distribution to the "${ant.home}/lib" - directory. - - (2) Building Tomcat 5 (2.1) Download main build script and build binary distribution @@ -96,7 +79,7 @@ * WARNING: Running this command will checkout the Tomcat 5 sources from CVS, as well as download binaries to the "/usr/local" directory. Make sure this is appropriate to do so on your computer. On Windows, this usually corresponds - to the "C:\usr\local" directory, unless Cygwin is used. Read below to + to the "C:\usr\local" directory, unless Cygwin is used. Read below to customize the directory used to download the binaries. * The build can be controlled by creating a ${tomcat.source}/build.properties @@ -113,10 +96,16 @@ # should be downloaded base.path=/usr/local +(2.3) Downloading dependences + +Tomcat relies on many files from other repositories. To retrieve them: + cd ${tomcat.source} + ant download + (3) Updating sources -It is recommended to regularly update the downloaded Tomcat 5 sources. +It is recommended to regularly update the downloaded Tomcat 5 sources. To do this, execute the following commands: cd ${tomcat.source}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]