curcuru 00/11/14 11:58:31
Modified: test/java build.xml
Log:
Added New trax\stream tests;
Minor update for docs build (still incomplete)
Revision Changes Path
1.6 +12 -0 xml-xalan/test/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/test/java/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.xml 2000/11/10 22:38:56 1.5
+++ build.xml 2000/11/14 19:58:31 1.6
@@ -55,6 +55,7 @@
<!-- Prepare output tree; copy over prebuilt classes -->
<target name="prepare">
+ <echo message="Classpath is ${java.class.path}" />
<mkdir dir="${build.dir}" />
<mkdir dir="${build.apidocs}" />
<mkdir dir="${build.dir}${test.root}" />
@@ -127,6 +128,10 @@
destdir="${build.dir}"
excludes="ProcessorAPITest.java,ResultAPITest.java"
debug="${debug}" />
+ <!-- Do [dom|sax|stream] subdirectories as well -->
+ <javac srcdir="${test.dir}/trax/stream"
+ destdir="${build.dir}"
+ debug="${debug}" />
</target>
<target name="package.trax" depends="compile.trax">
<jar jarfile="${build.dir}/${testxsl.jar}"
@@ -153,7 +158,14 @@
<!-- Creates the User's Guide
-->
<!-- ===================================================================
-->
<target name="docs" depends="prepare.docs">
+ <!-- Note: temporarily add the Xalan-J 1.x version of stylebook to
classpath
+ this needs more work, since we can build docs with either Xalan 1
or 2,
+ but the matching version of stylebook needs to go with the
xalan.jar -->
<java fork="yes" classname="${doc.generator}">
+ <classpath>
+ <pathelement location="${xalan.xdocs}/stylebook-1.0-b2.jar" />
+ <pathelement path="${java.class.path}" />
+ </classpath>
<arg line="targetDirectory=${build.docs} ${xdocs.book}
${xdocs.style}"/>
</java>
</target>