incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1327321 - /incubator/lcf/branches/CONNECTORS-459/build.xml
Date Tue, 17 Apr 2012 23:18:52 GMT
Author: kwright
Date: Tue Apr 17 23:18:52 2012
New Revision: 1327321

URL: http://svn.apache.org/viewvc?rev=1327321&view=rev
Log:
Download java 1.6 versions of postgresql and hsqldb database jars.

Modified:
    incubator/lcf/branches/CONNECTORS-459/build.xml

Modified: incubator/lcf/branches/CONNECTORS-459/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-459/build.xml?rev=1327321&r1=1327320&r2=1327321&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-459/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-459/build.xml Tue Apr 17 23:18:52 2012
@@ -2736,27 +2736,24 @@ Use Apache Forrest version forrest-0.9-d
     
     <target name="download-hsqldb">
         <mkdir dir="lib"/>
-        <!-- Download and build a jdk-1.5 version of hsqldb 2.2.8 -->
-        <mkdir dir="build/download"/>
-        <delete dir="build/download/hsqldb"/>
-        <antcall target="checkout-source-via-svn">
-            <param name="root-dir" value="build/download"/>
-            <param name="svn-url" value="http://hsqldb.svn.sourceforge.net/svnroot/hsqldb/base/tags/2.2.8"/>
-            <param name="dir-name" value="hsqldb"/>
+        <antcall target="download-via-maven">
+            <param name="project-path" value="org/hsqldb"/>
+            <param name="artifact-version" value="2.2.8"/>
+            <param name="target" value="lib"/>
+            <param name="artifact-name" value="hsqldb"/>
+            <param name="artifact-type" value="jar"/>
         </antcall>
-        <!-- Build it -->
-        <exec dir="build/download/hsqldb/build" executable="cmd" osfamily="windows" failifexecutionfails="true"
failonerror="true">
-            <arg line="/c ant.bat hsqldb"/>
-        </exec>
-        <exec dir="build/download/hsqldb/build" executable="ant" osfamily="unix" failifexecutionfails="true"
failonerror="true">
-            <arg value="hsqldb" />
-        </exec>
-        <copy todir="lib" file="build/download/hsqldb/lib/hsqldb.jar"/>
     </target>
     
     <target name="download-postgresql">
         <mkdir dir="lib"/>
-        <get src="http://jdbc.postgresql.org/download/postgresql-9.1-901.jdbc3.jar" dest="lib/postgresql.jar"/>
+        <antcall target="download-via-maven">
+            <param name="project-path" value="postgresql"/>
+            <param name="artifact-version" value="9.1-901.jdbc4"/>
+            <param name="target" value="lib"/>
+            <param name="artifact-name" value="postgresql"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
 
     <target name="download-axis">



Mime
View raw message