Commit b266817e authored by guus's avatar guus

OF-617: When property 'halt.on.plugin.error' is set, then build should fail when a plugin fails.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13472 b35dd754-fafc-0310-a699-88a17e54d16e
parent 12c2311a
...@@ -1622,6 +1622,7 @@ ...@@ -1622,6 +1622,7 @@
<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}" />
</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