From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Mon, 28 Jun 2010 21:32:35 +0200
Subject: [PATCH] split deploy-webapps target from deploy target

---
 build.xml |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

--- a/build.xml
+++ b/build.xml
@@ -743,7 +743,7 @@
     </xslt>
   </target>
 
-  <target name="deploy" depends="package,build-docs"
+  <target name="deploy" depends="package,build-docs,deploy-webapps"
           description="Default. Builds a working Tomcat instance">
 
     <copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
@@ -781,6 +781,10 @@
       </fileset>
     </copy>
 
+  </target>
+
+  <target name="deploy-webapps" depends="package,build-docs">
+
     <!-- Copy other regular webapps -->
     <copy todir="${tomcat.build}/webapps">
       <fileset dir="webapps">
