Description: Disable usage of embedded library copies
Author: James Pages <james.page@canonical.com>
Forwarded: no
Last-Update: 2011-05-16

--- tomcat7-7.0.14.orig/build.xml
+++ tomcat7-7.0.14/build.xml
@@ -482,7 +482,7 @@
     </copy>
   </target>
 
-  <target name="compile" depends="build-prepare,download-compile,compile-prepare,validate">
+  <target name="compile" depends="build-prepare,compile-prepare">
     <!-- Compile internal server components -->
     <javac srcdir="java" destdir="${tomcat.classes}"
            debug="${compile.debug}"
@@ -767,12 +767,14 @@
   <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"
             file="${tomcat-native.tar.gz}" />
     <copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
             file="${commons-daemon.native.src.tgz}" />
 
     <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
+    -->
 
     <!-- Copy scripts -->
     <copy todir="${tomcat.build}/bin">
