curcuru 02/05/02 12:41:18
Modified: test build.xml
Log:
Update compile target to not have XSLTC dependencies
(excludes=xsltcDocCode.java);
Update compile.xsltc target to compile same file;
Added init.build step to copy the xsl/*.class file so that
Ant doesn't try to compile the XSLTestAntTask file when
running the smoketest from the xml-xalan/java directory
(Note: we didn't used to need to do this, so I don't know
why I need to now! But at least this works now)
Revision Changes Path
1.45 +12 -1 xml-xalan/test/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/test/build.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- build.xml 27 Apr 2002 01:23:18 -0000 1.44
+++ build.xml 2 May 2002 19:41:18 -0000 1.45
@@ -217,6 +217,12 @@
<include name="**/*.properties" />
</fileset>
</copy>
+ <!-- Also copy over precompiled Ant class (why do we suddenly need
this? -sc) -->
+ <copy todir="${test.build.dir}/${test.root}/xsl" >
+ <fileset dir="${test.dir}xsl">
+ <include name="**/*.class" />
+ </fileset>
+ </copy>
</target>
<target name="init.docs" depends="init.build"
@@ -794,11 +800,16 @@
classpathref="compiletest.class.path" />
</target>
+ <!-- Note: this target must not depend on XSLTC!
+ Obviously now that we're writing XSLTC-specific API tests,
+ we'll need a target for those separately. -sc
+ -->
<target name="compile" depends="compile.trax">
<echo message="Compile Xalan-J 2.x specific tests" />
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}xalanj2/*.java,${test.root}dtm/*.java"
+ excludes="${test.root}dtm/xsltcDocCode.java"
debug="${debug}"
classpathref="compiletest.class.path" />
</target>
@@ -1039,7 +1050,7 @@
description="Compile Xsltc*Wrapper xslwrappers only">
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
-
includes="${test.root}xslwrapper/Trax*Wrapper.java,${test.root}xslwrapper/TraxWrapperUtils.java,${test.root}xslwrapper/Xsltc*Wrapper.java"
+
includes="${test.root}xslwrapper/Trax*Wrapper.java,${test.root}xslwrapper/TraxWrapperUtils.java,${test.root}xslwrapper/Xsltc*Wrapper.java,${test.root}dtm/xsltcDocCode.java"
debug="${debug}">
<classpath refid="xsltc.compile.class.path" />
</javac>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]