You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jo...@apache.org on 2001/08/08 02:20:53 UTC
cvs commit: jakarta-turbine-torque build.properties build.xml
jon 01/08/07 17:20:53
Modified: . build.properties build.xml
Log:
added stuff to help support using the tests...
one day a real testing suite will be sweet!
Revision Changes Path
1.2 +1 -0 jakarta-turbine-torque/build.properties
Index: build.properties
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/build.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.properties 2001/08/02 05:08:15 1.1
+++ build.properties 2001/08/08 00:20:52 1.2
@@ -14,6 +14,7 @@
build.dir = ./bin
src.dir = ./src
+test.dir = ${src.dir}/test
docs.src = ./xdocs
docs.dest = ./docs
1.2 +33 -0 jakarta-turbine-torque/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 2001/08/02 05:08:15 1.1
+++ build.xml 2001/08/08 00:20:52 1.2
@@ -176,6 +176,39 @@
todir="${build.dir}/classes/org/apache/torque/engine/database/transform"/>
</target>
+ <target name="compile-test" depends="prepare,compile"
+ description="--> compiles the test source code">
+ <javac srcdir="${test.dir}"
+ destdir="${test.dir}"
+ excludes="**/package.html"
+ debug="${debug}"
+ deprecation="${deprecation}"
+ optimize="${optimize}">
+ <classpath refid="classpath"/>
+ <classpath>
+ <pathelement path="${build.dir}/classes"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- T E S T -->
+ <!-- ================================================================== -->
+ <!-- Not currently working due to the way that Ant mucks with
+ a subprocess's threads
+ <target name="run-test" depends="prepare,compile-test"
+ description="--> runs the test source code">
+ <java classname="org.apache.torque.pool.PoolTest">
+ <classpath refid="classpath"/>
+ <classpath>
+ <pathelement path="${build.dir}/classes"/>
+ <pathelement path="${test.dir}"/>
+ <pathelement location="../scarab/lib/mm.mysql-2.0.4.jar"/>
+ </classpath>
+ </java>
+ </target>
+ -->
+
<!-- ================================================================== -->
<!-- J A R -->
<!-- ================================================================== -->
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org