Now using Jskad/build.properties file, which I keep looking like this:
halt.after.trouble=no
This commit is contained in:
parent
4dd40809a5
commit
f490978227
2 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
NightlyBuildStore
|
NightlyBuildStore
|
||||||
TEST*
|
TEST*
|
||||||
bin
|
bin
|
||||||
|
build.properties
|
||||||
jskad.log
|
jskad.log
|
||||||
qd.log
|
qd.log
|
||||||
savant.log
|
savant.log
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
<taskdef name="junitreport"
|
<taskdef name="junitreport"
|
||||||
classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator"/>
|
classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator"/>
|
||||||
|
|
||||||
|
<property file="build.properties"/>
|
||||||
|
<property name="halt.after.trouble" value="no"/>
|
||||||
|
|
||||||
<target name="fail-nicely"
|
<target name="fail-nicely"
|
||||||
description="Tells the user to use build.xml, not this subbuildfile.">
|
description="Tells the user to use build.xml, not this subbuildfile.">
|
||||||
<fail message="Do not use this file directly; use build.xml instead, which then uses this file."/>
|
<fail message="Do not use this file directly; use build.xml instead, which then uses this file."/>
|
||||||
|
@ -34,7 +37,7 @@
|
||||||
<!-- This creates output files TEST* in the Jskad/ directory. -->
|
<!-- This creates output files TEST* in the Jskad/ directory. -->
|
||||||
<target name="run-headed-junit-tests"
|
<target name="run-headed-junit-tests"
|
||||||
description="Assuming that compilation of appropriate classes has been done, this target runs all the JUnit tests in the project.">
|
description="Assuming that compilation of appropriate classes has been done, this target runs all the JUnit tests in the project.">
|
||||||
<junit fork="no" printsummary="yes" haltonfailure="no" haltonerror="no">
|
<junit fork="no" printsummary="yes" haltonfailure="${halt.after.trouble}" haltonerror="${halt.after.trouble}">
|
||||||
<!-- we don't halt on error because you get an error when you run
|
<!-- we don't halt on error because you get an error when you run
|
||||||
on a headless display -->
|
on a headless display -->
|
||||||
<classpath>
|
<classpath>
|
||||||
|
|
Loading…
Reference in a new issue