Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-449. Make junit output format configurable. Contributed by Nigel.

Douglass Cuttingc6b712bd9a1c
diff --git a/CHANGES.txt b/CHANGES.txt
index a5d607f53..8cb42719a 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -146,6 +146,8 @@ Unreleased changes (0.9-dev)
48. NUTCH-390 - Javadoc warnings (mattmann)
+49. NUTCH-449 - Make junit output format configurable. (nigel via cutting)
+
Release 0.8 - 2006-07-25
diff --git a/build.xml b/build.xml
index 7fc170e62..33d1169f2 100644
--- a/build.xml
+++ b/build.xml
@@ -22,6 +22,7 @@
<property file="${user.home}/build.properties" />
<property file="${basedir}/build.properties" />
<property file="${basedir}/default.properties" />
+ <property name="test.junit.output.format" value="plain"/>
<!-- the normal classpath -->
<path id="classpath">
@@ -281,7 +282,7 @@
<sysproperty key="test.build.data" value="${test.build.data}"/>
<sysproperty key="test.src.dir" value="${test.src.dir}"/>
<classpath refid="test.classpath"/>
- <formatter type="plain" />
+ <formatter type="${test.junit.output.format}" />
<batchtest todir="${test.build.dir}" unless="testcase">
<fileset dir="${test.src.dir}"
includes="**/Test*.java" excludes="**/${test.exclude}.java" />