Commit 339e00a7 authored by Guus der Kinderen's avatar Guus der Kinderen

OF-936: Plugins build task should fail on error by default.

parent fdd5bcfe
...@@ -90,6 +90,7 @@ ...@@ -90,6 +90,7 @@
<property name="plugin.dev.dest.dir" value="${work.dir}/plugins-dev"/> <property name="plugin.dev.dest.dir" value="${work.dir}/plugins-dev"/>
<property name="plugin.dest.dir" value="${work.dir}/plugins"/> <property name="plugin.dest.dir" value="${work.dir}/plugins"/>
<property name="nonrelease.plugin.dir" value="${basedir}/plugins-tmp"/> <property name="nonrelease.plugin.dir" value="${basedir}/plugins-tmp"/>
<property name="halt.on.plugin.error" value="true"/>
<property name="webapp.dest.dir" value="${work.dir}/webapp"/> <property name="webapp.dest.dir" value="${work.dir}/webapp"/>
<property name="release.dest.dir" value="${target.dir}/release"/> <property name="release.dest.dir" value="${target.dir}/release"/>
...@@ -1575,7 +1576,11 @@ ...@@ -1575,7 +1576,11 @@
<property name="exception" refid="exception_ref" /> <property name="exception" refid="exception_ref" />
<property name="message" value="Error building plugin: @{plugin}. Exception:${line.separator}${exception}" /> <property name="message" value="Error building plugin: @{plugin}. Exception:${line.separator}${exception}" />
<echo message="${message}" /> <echo message="${message}" />
<fail if="halt.on.plugin.error" message="${message}" /> <fail message="${message}">
<condition>
<istrue value="${halt.on.plugin.error}"/>
</condition>
</fail>
</catch> </catch>
</trycatch> </trycatch>
</sequential> </sequential>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment