dleslie 01/05/18 09:49:36
Modified: java build.xml
Log:
Added xsltc.samples target for building translet samples.
Revision Changes Path
1.103 +19 -4 xml-xalan/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/build.xml,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- build.xml 2001/05/17 07:47:30 1.102
+++ build.xml 2001/05/18 16:49:34 1.103
@@ -50,7 +50,7 @@
- Much of this file stolen from Stefano's xml-xerces build.xml
- $Id: build.xml,v 1.102 2001/05/17 07:47:30 sboag Exp $
+ $Id: build.xml,v 1.103 2001/05/18 16:49:34 dleslie Exp $
==================================================================== -->
@@ -407,10 +407,9 @@
destdir="${build.samples}" excludes="${exclude}"
debug="${debug}"/>
<jar jarfile="${build.dir}/xalansamples.jar" basedir="${build.samples}"
- includes="*.class"/>
-
+ includes="*.class"/>
</target>
-
+
<!-- ===================================================================
-->
<!-- Compiles the sample servlet and jars the class files.
-->
<!-- The javax.servlet and javax.servlet.http packages
-->
@@ -431,6 +430,22 @@
basedir="${build.samples}"
includes="servlet/**"/>
</target>
+
+ <!-- ===================================================================
-->
+ <!-- Compiles (does not jar) the translet samples in translets.
-->
+ <!-- For time being, classes are generated in place.
-->
+ <!-- To run these samples, add xsltc.jar, runtime.jar, BCEL.jar,
-->
+ <!-- and java_cup.jar (all in the bin directory) to the classpath
-->
+ <!--
-->
+ <!-- When we have straightened out classpath issues,
-->
+ <!-- add samples in CompiledApplet, CompiledBrazil, and CompiledServlet
-->
+ <!-- ===================================================================
-->
+ <target name="xsltc.samples" depends="jar,xsltc.jar">
+ <javac srcdir="${samples.dir}/translets"
classpath="${java.class.path}:${build.xsltc.jar}"
+ destdir="${samples.dir}/translets" excludes="${exclude}"
+ debug="${debug}"/>
+ </target>
+
<!-- ===================================================================
-->
<!-- Generate HTML docs
-->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]