nicolaken 02/04/25 16:43:01
Modified: . build.xml
tools/cents junit.cent.jar
Log:
Adding a new failsafe-test target to the cent.
Making the site target use that, so that failing tests don't stop the
site build but can be showed on the test results pages.
Revision Changes Path
1.27 +18 -4 jakarta-poi/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-poi/build.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- build.xml 25 Apr 2002 22:53:41 -0000 1.26
+++ build.xml 25 Apr 2002 23:43:01 -0000 1.27
@@ -177,7 +177,7 @@
<!-- dist target wo single build checks -->
<!-- ====================================== -->
- <target name="dist" depends="-init, clean, jar, site, test"
+ <target name="dist" depends="-init, clean, jar, test, site"
description="Build distribution packages wo single build checks">
<antcall target="call-cent">
@@ -214,13 +214,27 @@
<param name="cent-target" value="test"/>
</antcall>
+ </target>
+
+ <!-- ================================== -->
+ <!-- Run Junit tests -->
+ <!-- ================================== -->
+
+ <target name="test-report" depends="-init, compile"
+ description="Compile java source code">
+
+ <antcall target="call-cent">
+ <param name="cent-name" value="junit"/>
+ <param name="cent-target" value="failsafe-test"/>
+ </antcall>
+
<antcall target="call-cent">
<param name="cent-name" value="junit"/>
<param name="cent-target" value="report"/>
</antcall>
- </target>
-
+ </target>
+
<!-- ================================== -->
<!-- Generate project metrics -->
<!-- ================================== -->
@@ -262,7 +276,7 @@
<target name="site"
description="Makes all the site doco"
depends="docs,
- test,
+ test-report,
javadocs,
metrics"/>
1.5 +19 -12 jakarta-poi/tools/cents/junit.cent.jar
<<Binary file>>