incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1307352 - /incubator/lcf/branches/CONNECTORS-437/build.xml
Date Fri, 30 Mar 2012 10:54:00 GMT
Author: kwright
Date: Fri Mar 30 10:54:00 2012
New Revision: 1307352

URL: http://svn.apache.org/viewvc?rev=1307352&view=rev
Log:
Finish conversion to antcall downloads

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

Modified: incubator/lcf/branches/CONNECTORS-437/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-437/build.xml?rev=1307352&r1=1307351&r2=1307352&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-437/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-437/build.xml Fri Mar 30 10:54:00 2012
@@ -2673,79 +2673,206 @@ Use Apache Forrest version forrest-0.9-d
     </target>
   
     <target name="download-wsdl4j">
-        <get src="http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
dest="lib/wsdl4j.jar"/>
+        <property name="wsdl4j-version" value="1.6.2"/>
+        <property name="wsdl4j-package" value="wsdl4j"/>
+        <antcall target="download-via-maven"><param name="project-path" value="${wsdl4j-package}"/><param
name="artifact-version" value="${wsdl4j-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="wsdl4j"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
     
     <target name="download-commons">
-        <get src="http://repo1.maven.org/maven2/commons-codec/commons-codec/1.5/commons-codec-1.5.jar"
dest="lib/commons-codec.jar"/>
-        <get src="http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar"
dest="lib/commons-collections.jar"/>
-        <get src="http://repo1.maven.org/maven2/commons-discovery/commons-discovery/0.5/commons-discovery-0.5.jar"
dest="lib/commons-discovery.jar"/>
-        <get src="http://repo1.maven.org/maven2/commons-el/commons-el/1.0/commons-el-1.0.jar"
dest="lib/commons-el.jar"/>
-        <get src="http://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar"
dest="lib/commons-fileupload.jar"/>
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/commons-httpclient-3.1-mcf-1/commons-httpclient.jar"
dest="lib/commons-httpclient.jar"/>
-        <get src="http://repo1.maven.org/maven2/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar"
dest="lib/commons-io.jar"/>
-        <get src="http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar"
dest="lib/commons-lang.jar"/>
-        <get src="http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar"
dest="lib/commons-logging.jar"/>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-codec"/>
+            <param name="artifact-version" value="1.5"/>
+            <param name="artifact-name" value="commons-codec"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-collections"/>
+            <param name="artifact-version" value="3.2.1"/>
+            <param name="artifact-name" value="commons-collections"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-discovery"/>
+            <param name="artifact-version" value="0.5"/>
+            <param name="artifact-name" value="commons-discovery"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-el"/>
+            <param name="artifact-version" value="1.0"/>
+            <param name="artifact-name" value="commons-el"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-fileupload"/>
+            <param name="artifact-version" value="1.2.2"/>
+            <param name="artifact-name" value="commons-fileupload"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-svn"><param name="target" value="lib"/>
+            <param name="project-desc" value="commons-httpclient"/>
+            <param name="artifact-version" value="3.1-mcf-1"/>
+            <param name="artifact-name" value="commons-httpclient"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-io"/>
+            <param name="artifact-version" value="1.3.2"/>
+            <param name="artifact-name" value="commons-io"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-lang"/>
+            <param name="artifact-version" value="2.6"/>
+            <param name="artifact-name" value="commons-lang"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="commons-logging"/>
+            <param name="artifact-version" value="1.1.1"/>
+            <param name="artifact-name" value="commons-logging"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
     
     <target name="download-jetty">
+        <property name="jetty-version" value="6.1.26-patched-JETTY-1340"/>
+        <property name="jetty-package" value="org/mortbay/jetty"/>
+        <property name="jetty-description" value="jetty"/>
+
         <!-- Non-patched version has encoding issues -->
-        <!-- get src="http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar"
dest="lib/jetty.jar"/ -->
-        <!-- get src="http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-naming/6.1.26/jetty-naming-6.1.26.jar"
dest="lib/jetty-naming.jar"/ -->
-        <!-- get src="http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-plus/6.1.26/jetty-plus-6.1.26.jar"
dest="lib/jetty-plus.jar"/ -->
-        <!-- get src="http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar"
dest="lib/jetty-util.jar"/ -->
-        <!-- get src="http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-2.1-jetty/6.1.26/jsp-2.1-jetty-6.1.26.jar"
dest="lib/jsp-2.1-jetty.jar"/ -->
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/jetty-6.1.26-patched-JETTY-1340/jetty.jar"
dest="lib/jetty.jar"/>
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/jetty-6.1.26-patched-JETTY-1340/jetty-naming.jar"
dest="lib/jetty-naming.jar"/>
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/jetty-6.1.26-patched-JETTY-1340/jetty-plus.jar"
dest="lib/jetty-plus.jar"/>
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/jetty-6.1.26-patched-JETTY-1340/jetty-util.jar"
dest="lib/jetty-util.jar"/>
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/jetty-6.1.26-patched-JETTY-1340/jsp-2.1-jetty.jar"
dest="lib/jsp-2.1-jetty.jar"/>
+        
+        <antcall target="download-via-svn"><param name="project-package" value="${jetty-package}"/><param
name="project-desc" value="${jetty-description}"/><param name="artifact-version" value="${jetty-version}"/><param
name="target" value="lib"/>
+            <param name="artifact-name" value="jetty"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-svn"><param name="project-package" value="${jetty-package}"/><param
name="project-desc" value="${jetty-description}"/><param name="artifact-version" value="${jetty-version}"/><param
name="target" value="lib"/>
+            <param name="artifact-name" value="jetty-naming"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-svn"><param name="project-package" value="${jetty-package}"/><param
name="project-desc" value="${jetty-description}"/><param name="artifact-version" value="${jetty-version}"/><param
name="target" value="lib"/>
+            <param name="artifact-name" value="jetty-plus"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-svn"><param name="project-package" value="${jetty-package}"/><param
name="project-desc" value="${jetty-description}"/><param name="artifact-version" value="${jetty-version}"/><param
name="target" value="lib"/>
+            <param name="artifact-name" value="jetty-util"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-svn"><param name="project-package" value="${jetty-package}"/><param
name="project-desc" value="${jetty-description}"/><param name="artifact-version" value="${jetty-version}"/><param
name="target" value="lib"/>
+            <param name="artifact-name" value="jsp-2.1-jetty"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
     
     <target name="download-xerces">
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/xerces2-j-2.9.1-mcf-1/xercesImpl.jar"
dest="lib/xercesImpl.jar"/>
+        <antcall target="download-via-svn"><param name="target" value="lib"/>
+            <param name="project-desc" value="xerces2-j"/>
+            <param name="artifact-version" value="2.9.1-mcf-1"/>
+            <param name="artifact-name" value="xercesImpl"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
     
     <target name="download-xalan">
-        <get src="http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.jar" dest="lib/xalan.jar"/>
-        <get src="http://repo1.maven.org/maven2/xalan/serializer/2.7.1/serializer-2.7.1.jar"
dest="lib/serializer.jar"/>
+        <property name="xalan-version" value="2.7.1"/>
+        <property name="xalan-package" value="xalan"/>
+        <antcall target="download-via-maven"><param name="project-path" value="${xalan-package}"/><param
name="artifact-version" value="${xalan-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="xalan"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${xalan-package}"/><param
name="artifact-version" value="${xalan-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="serializer"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
 
     <target name="download-poi">
-        <get src="http://repo1.maven.org/maven2/org/apache/poi/poi/3.7/poi-3.7.jar" dest="lib/poi.jar"/>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="org/apache/poi"/>
+            <param name="artifact-version" value="3.7"/>
+            <param name="artifact-name" value="poi"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
 
     <target name="download-activation">
-        <get src="http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1.jar"
dest="lib/activation.jar"/>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="javax/activation"/>
+            <param name="artifact-version" value="1.1.1"/>
+            <param name="artifact-name" value="activation"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
     
     <target name="download-avalon-framework">
-        <get src="http://svn.apache.org/repos/asf/incubator/lcf/bin-dist/avalon-framework-4.2.0"
dest="lib/avalon-framework.jar"/>
+        <antcall target="download-via-svn"><param name="target" value="lib"/>
+            <param name="project-desc" value="avalon-framework"/>
+            <param name="artifact-version" value="4.2.0"/>
+            <param name="artifact-name" value="avalon-framework"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
     
     <target name="download-ecj">
-        <get src="http://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.7.1/ecj-3.7.1.jar"
dest="lib/ecj.jar"/>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="org/eclipse/jdt/core/compiler"/>
+            <param name="artifact-version" value="3.7.1"/>
+            <param name="artifact-name" value="ecj"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
     
     <target name="download-chemistry">
-        <get src="http://repo1.maven.org/maven2/org/apache/chemistry/opencmis/chemistry-opencmis-client-impl/0.6.0/chemistry-opencmis-client-impl-0.6.0.jar"
dest="lib/chemistry-opencmis-client-impl.jar"/>
-        <get src="http://repo1.maven.org/maven2/org/apache/chemistry/opencmis/chemistry-opencmis-client-api/0.6.0/chemistry-opencmis-client-api-0.6.0.jar"
dest="lib/chemistry-opencmis-client-api.jar"/>
-        <get src="http://repo1.maven.org/maven2/org/apache/chemistry/opencmis/chemistry-opencmis-client-bindings/0.6.0/chemistry-opencmis-client-bindings-0.6.0.jar"
dest="lib/chemistry-opencmis-client-bindings.jar"/>
-        <get src="http://repo1.maven.org/maven2/org/apache/chemistry/opencmis/chemistry-opencmis-commons-impl/0.6.0/chemistry-opencmis-commons-impl-0.6.0.jar"
dest="lib/chemistry-opencmis-commons-impl.jar"/>
-        <get src="http://repo1.maven.org/maven2/org/apache/chemistry/opencmis/chemistry-opencmis-commons-api/0.6.0/chemistry-opencmis-commons-api-0.6.0.jar"
dest="lib/chemistry-opencmis-commons-api.jar"/>
-
-        <get src="http://repo1.maven.org/maven2/org/apache/chemistry/opencmis/chemistry-opencmis-server-inmemory/0.6.0/chemistry-opencmis-server-inmemory-0.6.0.war"
dest="lib/chemistry-opencmis-server-inmemory.war"/>
+        <property name="chemistry-version" value="0.6.0"/>
+        <property name="chemistry-package" value="org/apache/chemistry/opencmis"/>
+        <antcall target="download-via-maven"><param name="project-path" value="${chemistry-package}"/><param
name="artifact-version" value="${chemistry-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="chemistry-opencmis-client-impl"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${chemistry-package}"/><param
name="artifact-version" value="${chemistry-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="chemistry-opencmis-client-api"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${chemistry-package}"/><param
name="artifact-version" value="${chemistry-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="chemistry-opencmis-client-bindings"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${chemistry-package}"/><param
name="artifact-version" value="${chemistry-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="chemistry-opencmis-commons-impl"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${chemistry-package}"/><param
name="artifact-version" value="${chemistry-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="chemistry-opencmis-commons-api"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${chemistry-package}"/><param
name="artifact-version" value="${chemistry-version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="chemistry-opencmis-server-inmemory"/>
+            <param name="artifact-type" value="war"/>
+        </antcall>
     </target>
 
     <target name="download-core-dependencies" depends="download-commons,download-derby,download-hsqldb,download-postgresql,download-axis,download-wsdl4j,download-castor,download-jetty,download-xerces,download-xalan,download-activation,download-avalon-framework,download-poi,download-chemistry,download-ecj">
     </target>
     
     <target name="download-mysql">
-        <get src="http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18.jar"
dest="lib-proprietary/mysql-connector-java.jar"/>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="mysql"/>
+            <param name="artifact-version" value="5.1.18"/>
+            <param name="artifact-name" value="mysql-connector-java"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
 
     <target name="download-jtds">
-        <get src="http://repo1.maven.org/maven2/net/sourceforge/jtds/jtds/1.2.4/jtds-1.2.4.jar"
dest="lib-proprietary/jtds.jar"/>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="net/sourceforge/jtds"/>
+            <param name="artifact-version" value="1.2.4"/>
+            <param name="artifact-name" value="jtds"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
     </target>
 
     <target name="download-proprietary-dependencies" depends="download-mysql,download-jtds"/>



Mime
View raw message