Fix download task dependency for commons-pool and commons-dbcp.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 11 Jun 2009 13:35:20 +0000 (13:35 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 11 Jun 2009 13:35:20 +0000 (13:35 +0000)
Without this patch the 'ant download' call does not download
the updated commons-pool or commons-dbcp version,
like the recent update of commons-pool 1.4 -> 1.5,
unless you delete existing ${tomcat-dbcp.jar} file before that.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@783762 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 8eddd2b..add98b6 100644 (file)
--- a/build.xml
+++ b/build.xml
     <!-- Build Tomcat DBCP bundle -->
     <antcall target="downloadgz">
       <param name="sourcefile" value="${commons-pool-src.loc}"/>
-      <param name="destfile" value="${tomcat-dbcp.jar}" />
+      <param name="destfile" value="${commons-pool.home}/build.xml" />
     </antcall>
     <antcall target="downloadgz">
       <param name="sourcefile" value="${commons-dbcp-src.loc}"/>
-      <param name="destfile" value="${tomcat-dbcp.jar}" />
+      <param name="destfile" value="${commons-dbcp.home}/build.xml" />
     </antcall>
     <mkdir dir="${tomcat-dbcp.home}"/>
     <antcall target="build-tomcat-dbcp">