<build-aspectj vm="${max.vm}" target="all"/>
<build-aspectj vm="${max.vm}" target="test-each-module"/>
<build-aspectj vm="${max.vm}" target="junitreport"/>
- <antcall target="product-tests"/>
+ <antcall target="product-tests"/>
<!-- TODO re-enable antcall target="harness-tests"/ -->
<build-aspectj vm="13" target="compile-runtime-11"/>
location="${aj.logs.dir}/build-@{target}"/>
<param name="ant.properties"
value="${do.ant.props} ${aspectj.build.props}"/>
- <param name="resultproperty"
- value="@{target}.@{vm}.result"/>
</antcall>
- <echo message="1 compile-runtime-11.13.result: ${compile-runtime-11.13.result}"/>
- <report-if-failed property="@{target}.@{vm}.result"
- text="Build failed: build-@{target} (@{vm})"/>
- <echo message="2 compile-runtime-11.13.result: ${compile-runtime-11.13.result}"/>
</sequential>
</macrodef>
file/target -f ${run.ant.file} ${ant.target}
options ${ant.verbose} ${ant.properties}
output ${ant.output.file}
- resultproperty ${resultproperty}
failonerror ${failonerror}
aspectjrt.path ${aspectjrt.path}
</echo>
<java
fork="true"
- resultproperty="${resultproperty}"
+ resultproperty="do-run-ant.result"
failonerror="${failonerror}"
dir="${ant.dir}"
jvm="${build.java.command}"
file="${aj.install.dir}"/>
<arg line="-f ${run.ant.file} ${ant.target} ${ant.verbose} ${ant.properties}"/>
</java>
- <report-if-failed property="${resultproperty}"
+ <condition property="do-run-ant.failed" value="true">
+ <not><equals arg1="0" arg2="${do-run-ant.result}"/></not>
+ </condition>
+ <echo message="dra: do-run-ant.failed=${do-run-ant.failed} do-run-ant.result=${do-run-ant.result}"/>
+ <report-if-failed property="do-run-ant.failed"
text="Build failed: ${ant.output.file}"/>
</target>