patrickl 2002/07/31 22:52:59 Modified: . BUILDING.txt build.properties.default build.xml Log: Updated build instructions, build.properties, and download target to use the latest Xerces 2 nightly build since it is the official Xerces 2 releases do not support XML schemas properly. Thanks go to Jean-Francois Arcand for helping find a parser that handles XML schemas properly. Revision Changes Path 1.8 +6 -7 jakarta-tomcat-5/BUILDING.txt Index: BUILDING.txt =================================================================== RCS file: /home/cvs/jakarta-tomcat-5/BUILDING.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- BUILDING.txt 31 Jul 2002 17:27:01 -0000 1.7 +++ BUILDING.txt 1 Aug 2002 05:52:59 -0000 1.8 @@ -84,17 +84,16 @@ * This is optional with JDK 1.3 or later. -(4) Download and Install the Xerces 2.0.2 or Higher Distribution +(4) Download and Install the Xerces 2 nightly build July 31, 2002 or Higher + Distribution -* Download a binary distribution from: +* Download the xercesImpl.jar and xmlParserAPIs.jar files from: - http://xml.apache.org/dist/xerces-j/ + http://gump.covalent.net/jars/latest/xml-xerces2/ -* Unpack the binary distribution into a convenient location so that the +* Place the downloaded files in a convenient location so that the distribution resides in its own directory (conventionally named "xerces-x_y_z"). - -* This is optional with JDK 1.4 or later. (5) Download and Install Subproject Source Code 1.12 +7 -5 jakarta-tomcat-5/build.properties.default Index: build.properties.default =================================================================== RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- build.properties.default 31 Jul 2002 17:27:01 -0000 1.11 +++ build.properties.default 1 Aug 2002 05:52:59 -0000 1.12 @@ -102,13 +102,15 @@ regexp.loc=http://jakarta.apache.org/builds/jakarta-regexp/release/v1.2/jakarta-regexp-1.2.tar.gz -# ----- Xerces XML Parser, version 2.0.2 or later ----- -# Note: Optional with JDK 1.4+ -xerces.home=${base.path}/xerces-2_0_2 +# ----- Xerces XML Parser, version 2 nightly build July 31, 2002 or later ----- +#xerces.home=${base.path}/xerces-2_0_2 +xerces.home=${base.path}/xerces-2-latest xerces.lib=${xerces.home} xercesImpl.jar=${xerces.lib}/xercesImpl.jar xmlParserAPIs.jar=${xerces.lib}/xmlParserAPIs.jar -xerces.loc=http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.2.tar.gz +#xerces.loc=http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.2.tar.gz +xercesImpl.loc=http://gump.covalent.net/jars/latest/xml-xerces2/xercesImpl.jar +xmlParserAPIs.loc=http://gump.covalent.net/jars/latest/xml-xerces2/xmlParserAPIs.jar # -------------------------------------------------- 1.14 +18 -1 jakarta-tomcat-5/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- build.xml 31 Jul 2002 03:09:19 -0000 1.13 +++ build.xml 1 Aug 2002 05:52:59 -0000 1.14 @@ -517,10 +517,27 @@ <param name="destfile" value="${regexp.jar}"/> </antcall> + <!-- + Can't download a released version of Xerces since they have a XML + Schema bug + --> + <!-- <antcall target="downloadgz"> - <!-- xerces2 brings 2 files, test for one of them --> <param name="sourcefile" value="${xerces.loc}"/> <param name="destfile" value="${xmlParserAPIs.jar}"/> + </antcall> + --> + + <!-- latest xerces2 requires download of 2 separate jars --> + <antcall target="downloadfile"> + <param name="sourcefile" value="${xercesImpl.loc}"/> + <param name="destfile" value="${xercesImpl.jar}"/> + <param name="destdir" value="${xerces.home}"/> + </antcall> + <antcall target="downloadfile"> + <param name="sourcefile" value="${xmlParserAPIs.loc}"/> + <param name="destfile" value="${xmlParserAPIs.jar}"/> + <param name="destdir" value="${xerces.home}"/> </antcall> <antcall target="cvsbuild">
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>