bdelacretaz 2004/05/17 02:07:32
Modified: tools/targets test-build.xml
Log:
make anteater tests visible in -projecthelp listing
Revision Changes Path
1.13 +6 -3 cocoon-2.1/tools/targets/test-build.xml
Index: test-build.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/tools/targets/test-build.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- test-build.xml 17 May 2004 07:27:40 -0000 1.12
+++ test-build.xml 17 May 2004 09:07:32 -0000 1.13
@@ -21,7 +21,7 @@
</description>
<!-- Runs all tests -->
- <target name="test" depends="junit-tests, block-tests" description="Runs
all tests"/>
+ <target name="test" depends="junit-tests, block-tests" description="Runs
all JUnit tests (but no anteater tests)"/>
<target name="junit-prepare">
<delete dir="${build.test.output}"/>
@@ -83,12 +83,15 @@
</target>
<!-- Anteater tests -->
- <target name="anteater-tests" depends="compile-tests,block-anteater-tests">
+ <target name="anteater-tests" depends="compile-tests,block-anteater-tests"
description="Runs anteater tests (but no JUnit tests)">
<!-- anteater parameters are set in build.properties -->
<available file="${anteater.home}" property="anteater.present"/>
<fail unless="anteater.present"
message="To use anteater, please install it and set anteater.home
(currently ${anteater.home}) in your local.build.properties"/>
- <echo>To run these tests, another instance of Cocoon must be running at
${anteater.target.host}:${anteater.target.port} (base
path=${anteater.target.base.path})</echo>
+ <echo>*** anteater-tests notes ***************</echo>
+ <echo>a) To run these tests, another instance of Cocoon must be running
at ${anteater.target.host}:${anteater.target.port} (base
path=${anteater.target.base.path})</echo>
+ <echo>b) JDK 1.4.x is required to run these tests, but running them
under 1.4.x to test Cocoon running under 1.3.x should be ok.</echo>
+ <echo>c) anteater options can be set in local.build.properties, and some
tests only run if enabled there.</echo>
<java classname="org.apache.tools.ant.Main" fork="true">
<classpath>
<fileset dir="${anteater.home}">