curcuru 01/03/16 07:09:10 Modified: java build.xml Log: Split compile target into separate javac steps to avoid JDK 1.1.8 bug reported at: http://developer.java.sun.com/developer/bugParade/bugs/4043508.html Revision Changes Path 1.89 +20 -3 xml-xalan/java/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-xalan/java/build.xml,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- build.xml 2001/03/14 19:40:03 1.88 +++ build.xml 2001/03/16 15:09:06 1.89 @@ -48,7 +48,7 @@ - Much of this file stolen from Stefano's xml-xerces build.xml - $Id: build.xml,v 1.88 2001/03/14 19:40:03 dleslie Exp $ + $Id: build.xml,v 1.89 2001/03/16 15:09:06 curcuru Exp $ ==================================================================== --> @@ -185,10 +185,27 @@ <!-- =================================================================== --> <target name="compile" depends="prepare" description="Compile Xalan the normal way" > - <echo message="compile entire source tree and copy .properties and .res files to build tree."/> + <echo message="compile entire source tree and copy .properties and .res files to build tree."/> + <!-- Note: split compile into separate javac steps to avoid JDK 1.1.8 bug reported at: + http://developer.java.sun.com/developer/bugParade/bugs/4043508.html + which causes an error like: + [javac] E:\builds\xml-xalan\java\src\org\apache\xalan\templates\ElemTemplate.java:108: Cyclic class inheritance or scoping. + --> <javac srcdir="${src.dir}" destdir="${build.classes}" - includes="**/*.java" + includes="javax/**/*.java" + debug="${debug}"/> + <javac srcdir="${src.dir}" + destdir="${build.classes}" + includes="org/w3c/**/*.java,org/w3c/**/*.java" + debug="${debug}"/> + <javac srcdir="${src.dir}" + destdir="${build.classes}" + includes="org/apache/xml/**/*.java,org/apache/xpath/**/*.java" + debug="${debug}"/> + <javac srcdir="${src.dir}" + destdir="${build.classes}" + includes="org/apache/xalan/**/*.java" debug="${debug}"/> <copy todir="${build.classes}"> <fileset dir="${src.dir}" includes="**/*.properties,**/*.res,**/javax.xml.parsers.*,**/javax.xml.transform.*"/>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
