Commit 9a3b85ca authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Failure to compile a plugin will not stop the entire build process (just that plugin).

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11370 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6ced27ce
......@@ -1271,6 +1271,8 @@
<attribute name="pluginsrc"/>
<attribute name="pluginlib" default="${plugin.dev.dest.dir}/@{plugin}/work/lib" />
<sequential>
<trycatch property="message_ref" reference="exception_ref" >
<try>
<!-- For each plugin, copile code, make a jar and copy resources. -->
<mkdir dir="${plugin.dev.dest.dir}"/>
......@@ -1582,8 +1584,15 @@
<!-- Delete the exploded plugin -->
<delete dir="${plugin.dev.dest.dir}/@{plugin}/jar"/>
</try>
<catch>
<property name="exception" refid="exception_ref" />
<property name="message" value="Error building plugin: @{plugin}. Exception:${line.separator}${exception}" />
<echo message="${message}" />
</catch>
</trycatch>
</sequential>
</macrodef>
<!-- anttasks ============================================================================== -->
......
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