Commit 2b6c8e12 authored by Quality Assurance's avatar Quality Assurance Committed by qa

Fix for build.xml to stop false build failings from TeamCity

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8127 b35dd754-fafc-0310-a699-88a17e54d16e
parent e7becf77
...@@ -1272,17 +1272,27 @@ ...@@ -1272,17 +1272,27 @@
</if> </if>
<!-- Copy anything in the plugin's lib dir to the target lib dir --> <!-- Copy anything in the plugin's lib dir to the target lib dir -->
<copy todir="${plugin.dev.dest.dir}/@{plugin}/target/lib" failonerror="false" <if>
overwrite="${overwrite}"> <available file="@{pluginsrc}/@{plugin}/lib" />
<fileset dir="@{pluginsrc}/@{plugin}/lib" includes="**/*.*"/> <then>
</copy> <copy todir="${plugin.dev.dest.dir}/@{plugin}/target/lib" failonerror="false"
overwrite="${overwrite}">
<fileset dir="@{pluginsrc}/@{plugin}/lib" includes="**/*.*"/>
</copy>
</then>
</if>
<!-- Copy web.xml to web-custom.xml --> <!-- Copy web.xml to web-custom.xml -->
<copy todir="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF" failonerror="false" <if>
overwrite="${overwrite}"> <available file="@{pluginsrc}/@{plugin}/src/web/WEB-INF" />
<fileset dir="@{pluginsrc}/@{plugin}/src/web/WEB-INF" includes="web.xml"/> <then>
<mapper type="glob" from="web.xml" to="web-custom.xml"/> <copy todir="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF" failonerror="false"
</copy> overwrite="${overwrite}">
<fileset dir="@{pluginsrc}/@{plugin}/src/web/WEB-INF" includes="web.xml"/>
<mapper type="glob" from="web.xml" to="web-custom.xml"/>
</copy>
</then>
</if>
<!-- Copy the plugin.xml and documentation to the target dir, code below assumes it's there --> <!-- Copy the plugin.xml and documentation to the target dir, code below assumes it's there -->
<mkdir dir="${plugin.dev.dest.dir}/@{plugin}/jar"/> <mkdir dir="${plugin.dev.dest.dir}/@{plugin}/jar"/>
......
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