mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
attempt to fix error detection during build
This commit is contained in:
parent
4559c40f78
commit
67dcd86f35
1 changed files with 2 additions and 2 deletions
|
@ -142,11 +142,11 @@
|
||||||
<property name="builder" value="${basedir}/master" />
|
<property name="builder" value="${basedir}/master" />
|
||||||
</ant>
|
</ant>
|
||||||
<concat destfile="${zipsdir}/compilelog.txt">
|
<concat destfile="${zipsdir}/compilelog.txt">
|
||||||
<fileset dir="${buildDirectory}/plugins" includes="**/*.bin.log"/>
|
<fileset dir="${buildDirectory}/plugins" includes="**/*@dot.log"/>
|
||||||
</concat>
|
</concat>
|
||||||
<loadfile property="compileLog" srcFile="${zipsdir}/compilelog.txt"/>
|
<loadfile property="compileLog" srcFile="${zipsdir}/compilelog.txt"/>
|
||||||
<condition property="hasErrors">
|
<condition property="hasErrors">
|
||||||
<contains string="${compileLog}" substring=" ERROR"/>
|
<contains string="${compileLog}" substring=" ERROR "/>
|
||||||
</condition>
|
</condition>
|
||||||
<copy file="buildindex.html" tofile="${zipsdir}/index.html"/>
|
<copy file="buildindex.html" tofile="${zipsdir}/index.html"/>
|
||||||
<replace file="${zipsdir}/index.html">
|
<replace file="${zipsdir}/index.html">
|
||||||
|
|
Loading…
Add table
Reference in a new issue