Commit ed7f05e3 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Made zip extraction more failsafe.

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2671 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1204e386
...@@ -586,7 +586,8 @@ ...@@ -586,7 +586,8 @@
<fileset dir="${webapp.dest.dir}"/> <fileset dir="${webapp.dest.dir}"/>
</copy> </copy>
<!-- Copy help files --> <!-- Copy help files -->
<unzip src="${src.dir}/help/help.zip" dest="${prepare.out.dir}/plugins/admin/webapp" /> <available file="${src.dir}/help/help.zip" property="help.exists" />
<antcall target="-extract-help" />
<!-- Copy in tag library support --> <!-- Copy in tag library support -->
<copy todir="${prepare.out.dir}/lib"> <copy todir="${prepare.out.dir}/lib">
<fileset dir="${lib.build.dir}" includes="commons-el.jar"/> <fileset dir="${lib.build.dir}" includes="commons-el.jar"/>
...@@ -603,6 +604,10 @@ ...@@ -603,6 +604,10 @@
</target> </target>
<target name="-extract-help" if="help.exists">
<unzip src="${src.dir}/help/help.zip" dest="${prepare.out.dir}/plugins/admin/webapp" />
</target>
<!-- release =============================================================================== --> <!-- release =============================================================================== -->
<target name="release" depends="jar,javadoc" description="Creates a distribution"> <target name="release" depends="jar,javadoc" description="Creates a distribution">
<mkdir dir="${release.dest.dir}"/> <mkdir dir="${release.dest.dir}"/>
......
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