This commit is contained in:
Bruce Eckel 2015-04-30 14:29:32 -07:00
parent 4733ed1d61
commit 9807883de3

View File

@ -23,8 +23,8 @@
<attribute name="timeOut" default="15000"/>
<attribute name="msg" default=""/>
<sequential>
<echo>Running: ${chapter} @{cls}</echo>
<echo file="${antoutput}" append="true">Running: ${chapter} @{cls}</echo>
<echo>Running: ${chapter} @{cls}&#13;</echo>
<echo file="${antoutput}" append="true">Running: ${chapter} @{cls}&#13;</echo>
<java
classname="@{cls}"
classpath="${java.class.path};${basedir};${basedir}/.."
@ -35,9 +35,9 @@
output="${antoutput}" append="true">
<arg line="@{arguments}"/>
</java>
<echo file="${antoutput}" append="true">Finished: ${chapter} @{cls}</echo>
<echo file="${antoutput}" append="true">@{msg}</echo>
<echo file="${antoutput}" append="true">--------------------------------</echo>
<echo file="${antoutput}" append="true">Finished: ${chapter} @{cls}&#13;</echo>
<echo file="${antoutput}" append="true">@{msg}&#13;</echo>
<echo file="${antoutput}" append="true">--------------------------------&#13;</echo>
</sequential>
</macrodef>
@ -59,7 +59,7 @@
description="Build all classes in this directory"
name="build">
<fail message="Java 8 required" unless="version1.8"/>
<echo file="${antoutput}" append="true" message="Building '${chapter}'"/>
<echo file="${antoutput}" append="true" message="Building '${chapter}'&#13;"/>
<javac includeantruntime="false"
classpath="${java.class.path};${basedir};${basedir}/.."
debug="true"
@ -68,7 +68,7 @@
<compilerarg value="-Xmaxerrs"/>
<compilerarg value="10"/>
</javac>
<echo file="${antoutput}" append="true" message="Build '${chapter}' succeeded"/>
<echo file="${antoutput}" append="true" message="Build '${chapter}' succeeded&#13;"/>
</target>
<target description="delete all byproducts" name="clean">