aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-01-13 07:04:00 +0000
committerJeremias Maerki <jeremias@apache.org>2005-01-13 07:04:00 +0000
commit00c04576b6a381807c3ccf0e664d9681aa423dbb (patch)
tree6efcebd3a4429bced21301a222281c16d6c1aea3 /build.xml
parent4f56f5d36482e5750ceb18f0cd34f16a08d7b829 (diff)
downloadxmlgraphics-fop-00c04576b6a381807c3ccf0e664d9681aa423dbb.tar.gz
xmlgraphics-fop-00c04576b6a381807c3ccf0e664d9681aa423dbb.zip
Removed Simon's line again and added an explanation why that line shouldn't be there.
Added java.awt.headless="true" to the forked JUnit tests to satisfy Gump. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198266 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 110038b13..f4ef519aa 100644
--- a/build.xml
+++ b/build.xml
@@ -675,6 +675,7 @@ list of possible build targets.
<mkdir dir="${build.dir}/test-reports/fop-transcoder"/>
<junit haltonerror="yes" fork="${junit.fork}">
<sysproperty key="basedir" value="${basedir}"/>
+ <sysproperty key="jawa.awt.headless" value="true"/>
<formatter type="brief" usefile="false"/>
<classpath>
<pathelement location="${build.dir}/test-classes"/>
@@ -690,13 +691,19 @@ list of possible build targets.
</batchtest>
</junit>
<echo message="Running basic functionality tests for fop-transcoder-allinone.jar"/>
+ <!-- These are the same tests as in the block above but testing the "allinone" JAR
+ instead. Please don't add any additional paths other than the test classes, the
+ allinone JAR and the any Batik JARs to the classpath. If this fails, but the
+ previous test block succeeded it indicates that the packaging of the allinone
+ JAR needs to be updated.
+ -->
<mkdir dir="${build.dir}/test-reports/fop-transcoder-allinone"/>
<junit haltonerror="yes" fork="${junit.fork}">
<sysproperty key="basedir" value="${basedir}"/>
+ <sysproperty key="jawa.awt.headless" value="true"/>
<formatter type="brief" usefile="false"/>
<classpath>
<pathelement location="${build.dir}/test-classes"/>
- <path refid="libs-basic-run-classpath"/>
<fileset dir="build">
<include name="fop-transcoder-allinone.jar"/>
</fileset>
@@ -714,6 +721,7 @@ list of possible build targets.
<mkdir dir="${build.dir}/test-reports/fop"/>
<junit haltonerror="yes" fork="${junit.fork}">
<sysproperty key="basedir" value="${basedir}"/>
+ <sysproperty key="jawa.awt.headless" value="true"/>
<formatter type="brief" usefile="false"/>
<classpath>
<pathelement location="${build.dir}/test-classes"/>
@@ -733,6 +741,7 @@ list of possible build targets.
<mkdir dir="${build.dir}/test-reports/fop"/>
<junit haltonerror="yes" fork="${junit.fork}">
<sysproperty key="basedir" value="${basedir}"/>
+ <sysproperty key="jawa.awt.headless" value="true"/>
<sysproperty key="fop.layoutengine.disabled" value="${layoutengine.disabled}"/>
<formatter type="brief" usefile="false"/>
<classpath>