jvanzyl 01/08/28 18:33:19
Modified: build testcases.xml
Log:
- adding test for texen working with a JAR file.
Revision Changes Path
1.17 +33 -0 jakarta-velocity/build/testcases.xml
Index: testcases.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity/build/testcases.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- testcases.xml 2001/08/08 11:18:29 1.16
+++ testcases.xml 2001/08/29 01:33:19 1.17
@@ -269,6 +269,39 @@
</target>
+ <!-- ================================================================ -->
+ <!-- T E X E N C L A S S P A T H -->
+ <!-- ================================================================ -->
+ <!-- Generate turbine service code via Texen with all the templates -->
+ <!-- and ancillary files in a JAR. -->
+ <!-- ================================================================ -->
+
+ <target name="test-texen-classpath">
+
+ <taskdef name="texen" classname="org.apache.velocity.texen.ant.TexenTask">
+ <classpath>
+ <pathelement location="./test.jar"/>
+ <path refid="classpath"/>
+ </classpath>
+ </taskdef>
+
+ <texen
+ useClassPath="true"
+ contextProperties="service.props"
+ controlTemplate="Control.vm"
+ outputDirectory="../test/texen-classpath/results"
+ outputFile="report"
+ />
+
+ <java classname="${velocity.test.runner}" fork="yes"
failonerror="${testbed.failonerror}">
+ <arg value="org.apache.velocity.test.TexenTestCase"/>
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ </java>
+
+ </target>
+
<target name="test-multiloader">
<echo message="Running MultiLoader tests..."/>