commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r521856 - /jakarta/commons/proper/transaction/trunk/build.xml
Date Fri, 23 Mar 2007 18:43:30 GMT
Author: niallp
Date: Fri Mar 23 11:43:29 2007
New Revision: 521856

URL: http://svn.apache.org/viewvc?view=rev&rev=521856
Log:
Add a target to download transaction's dependencies

Modified:
    jakarta/commons/proper/transaction/trunk/build.xml

Modified: jakarta/commons/proper/transaction/trunk/build.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/transaction/trunk/build.xml?view=diff&rev=521856&r1=521855&r2=521856
==============================================================================
--- jakarta/commons/proper/transaction/trunk/build.xml (original)
+++ jakarta/commons/proper/transaction/trunk/build.xml Fri Mar 23 11:43:29 2007
@@ -61,6 +61,7 @@
   Set the properties for the build area
   =================================================================== 
   -->
+  <property name="ibiblio.url" value="http://mirrors.ibiblio.org/pub/mirrors/maven2"/>
   <property name="build.dir" value="${basedir}/build"/>
   <property name="build.classes" value="${build.dir}/classes"/>
   <property name="build.lib" value="${build.dir}/lib"/>
@@ -515,4 +516,40 @@
    	<echo message="${md5} *${_base}" file="${path}.md5"/>
   </target>
 
-</project>
\ No newline at end of file
+<!-- ========== Download Dependencies ===================================== -->
+
+  <target name="download">
+
+    <mkdir dir="${lib.dir}"/>
+
+    <echo message="Downloading Commons Codec jar..."/>
+    <get dest="${lib.dir}/commons-codec-1.2.jar" usetimestamp="true" ignoreerrors="true"
+          src="${ibiblio.url}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
+
+    <echo message="Downloading Commons Logging jar..."/>
+    <get dest="${lib.dir}/commons-logging-1.1.jar" usetimestamp="true" ignoreerrors="true"
+          src="${ibiblio.url}/commons-logging/commons-logging/1.1/commons-logging-1.1.jar"/>
+
+    <echo message="Downloading JTA jar..."/>
+    <get dest="${lib.dir}/geronimo-jta_1.0.1B_spec-1.1.1.jar" usetimestamp="true" ignoreerrors="true"
+          src="${ibiblio.url}/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.1.1/geronimo-jta_1.0.1B_spec-1.1.1.jar"/>
+
+    <echo message="Downloading J2EE Connector jar..."/>
+    <get dest="${lib.dir}/geronimo-j2ee-connector_1.5_spec-1.1.1.jar" usetimestamp="true"
ignoreerrors="true"
+          src="${ibiblio.url}/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1.1/geronimo-j2ee-connector_1.5_spec-1.1.1.jar"/>
+
+    <echo message="Downloading Servlet jar..."/>
+    <get dest="${lib.dir}/geronimo-servlet_2.4_spec-1.1.1.jar" usetimestamp="true" ignoreerrors="true"
+          src="${ibiblio.url}/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1.1/geronimo-servlet_2.4_spec-1.1.1.jar"/>
+
+    <echo message="Downloading JUnit jar..."/>
+    <get dest="${lib.dir}/junit-3.8.jar" usetimestamp="true" ignoreerrors="true"
+          src="${ibiblio.url}/junit/junit/3.8/junit-3.8.jar"/>
+
+    <echo message="Downloading log4j jar..."/>
+    <get dest="${lib.dir}/log4j-1.2.8.jar" usetimestamp="true" ignoreerrors="true"
+          src="${ibiblio.url}/log4j/log4j/1.2.8/log4j-1.2.8.jar"/>
+
+  </target>
+
+</project>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message