User: user57
Date: 01/08/01 23:25:52
Modified: etc Tag: jboss_buildmagic build-bank.xml
Log:
o hooked up junit for each module's "tests" target, though it still needs
some fine tuning as to which classes to test.
o looked into junitreport again, but that task is a pile of...
Revision Changes Path
No revision
No revision
1.1.2.5 +22 -13 jbosstest/etc/Attic/build-bank.xml
Index: build-bank.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/etc/Attic/build-bank.xml,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- build-bank.xml 2001/08/02 03:45:32 1.1.2.4
+++ build-bank.xml 2001/08/02 06:25:52 1.1.2.5
@@ -9,18 +9,35 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build-bank.xml,v 1.1.2.4 2001/08/02 03:45:32 user57 Exp $ -->
+<!-- $Id: build-bank.xml,v 1.1.2.5 2001/08/02 06:25:52 user57 Exp $ -->
<!-- The JBossTest bank testsuite build file -->
<project default="main">
+ <!--
+ | Setup paths that have been published as properties by our parent.
+ -->
+
+ <path id="javac.classpath">
+ <pathelement path="${testsuite.module.javac.classpath}"/>
+ </path>
+
+ <path id="apache.ant.classpath">
+ <pathelement path="${testsuite.module.apache.ant.classpath}"/>
+ </path>
+
+ <path id="apache.ant.ext.classpath">
+ <pathelement path="${testsuite.module.apache.ant.classpath}"/>
+ </path>
+
+
<!-- =================================================================== -->
<!-- Compiles the source code -->
<!-- =================================================================== -->
<target name="compile"
- depends="compile-classes, compile-resources"
+ depends="compile-classes"
description="Compile all source files."/>
<!-- Compile class files -->
@@ -42,16 +59,6 @@
</javac>
</target>
- <!-- Compile resource files -->
- <target name="compile-resources">
- <mkdir dir="${build.resources}"/>
- <copy todir="${build.resources}" filtering="yes">
- <fileset dir="${source.resources}">
- <include name="org/jboss/test/bank/**"/>
- </fileset>
- </copy>
- </target>
-
<!-- ================================================================== -->
<!-- Build Jars -->
@@ -91,8 +98,10 @@
<!-- ================================================================== -->
<!-- Run tests -->
<!-- ================================================================== -->
+
+ <target name="tests" depends="tests-junit"/>
- <target name="tests" depends="jars">
+ <target name="tests-junit" depends="jars">
<mkdir dir="${build.reports}"/>
<junit dir="${module.output}"
printsummary="${junit.printsummary}"
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development