incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shinich...@apache.org
Subject svn commit: r1170008 - in /incubator/lcf/trunk: CHANGES.txt build.xml connectors/jcifs/build.xml connectors/jdbc/build.xml
Date Tue, 13 Sep 2011 02:30:39 GMT
Author: shinichiro
Date: Tue Sep 13 02:30:39 2011
New Revision: 1170008

URL: http://svn.apache.org/viewvc?rev=1170008&view=rev
Log:
Fix for CONNECTORS-251

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/build.xml
    incubator/lcf/trunk/connectors/jcifs/build.xml
    incubator/lcf/trunk/connectors/jdbc/build.xml

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1170008&r1=1170007&r2=1170008&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Tue Sep 13 02:30:39 2011
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 0.4-dev =====================
 
+CONNECTORS-251: Add target "download-dependencies" to build.xml.
+(Shinichiro Abe)
+
 CONNECTORS-252: Clean up build, dist and lib of each connector after build.
 (Shinichiro Abe)
 

Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1170008&r1=1170007&r2=1170008&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Tue Sep 13 02:30:39 2011
@@ -2232,6 +2232,9 @@ all     - Do it all (requires Apache For
 
 run-script-interpreter - Run the ManifoldCF script interpreter
 
+download-dependencies  - Picking up the non-redistributable
+                         dependencies for all connectors
+
 Use Apache Forrest version forrest-0.9-dev or higher.
       </echo>
     </target>
@@ -2314,4 +2317,9 @@ Use Apache Forrest version forrest-0.9-d
         </java>
     </target>
 
+    <target name="download-dependencies">
+        <ant dir="connectors/jcifs" target="download-dependencies"/>
+        <ant dir="connectors/jdbc" target="download-dependencies"/>
+    </target>
+
 </project>

Modified: incubator/lcf/trunk/connectors/jcifs/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jcifs/build.xml?rev=1170008&r1=1170007&r2=1170008&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jcifs/build.xml (original)
+++ incubator/lcf/trunk/connectors/jcifs/build.xml Tue Sep 13 02:30:39 2011
@@ -75,5 +75,12 @@
     <target name="run-tests-postgresql"/>
     <target name="run-tests-HSQLDB"/>
     <target name="all" depends="build,doc,build-tests,run-tests,run-tests-HSQLDB"/>
-    
+
+    <target name="download-jcifs">
+        <property name="version" value="1.3.16"/>
+        <get src="http://jcifs.samba.org/src/jcifs-${version}.jar" dest="jcifs/jcifs.jar"/>
+    </target>
+
+    <target name="download-dependencies" depends="download-jcifs"/>
+
 </project>

Modified: incubator/lcf/trunk/connectors/jdbc/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jdbc/build.xml?rev=1170008&r1=1170007&r2=1170008&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jdbc/build.xml (original)
+++ incubator/lcf/trunk/connectors/jdbc/build.xml Tue Sep 13 02:30:39 2011
@@ -62,5 +62,18 @@
     <target name="run-tests-postgresql"/>
     <target name="run-tests-HSQLDB"/>
     <target name="all" depends="build,doc,build-tests,run-tests,run-tests-postgresql,run-tests-HSQLDB"/>
+
+    <target name="download-ojdbc"/>
+
+    <target name="download-jtds">
+        <property name="version" value="1.2.5"/>
+        <mkdir dir="download/jtds"/>
+        <get src="http://sourceforge.net/projects/jtds/files/jtds/${version}/jtds-${version}-dist.zip"
dest="download"/>
+        <unzip src="download/jtds-${version}-dist.zip" dest="download/jtds"/>
+        <copy todir="jdbc-drivers" file="download/jtds/jtds-${version}.jar"/>
+        <delete dir="download"/>
+    </target>
+
+    <target name="download-dependencies" depends="download-ojdbc,download-jtds"/>
     
 </project>



Mime
View raw message