incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1308639 - /incubator/lcf/branches/CONNECTORS-443/build.xml
Date Tue, 03 Apr 2012 00:59:43 GMT
Author: kwright
Date: Tue Apr  3 00:59:43 2012
New Revision: 1308639

URL: http://svn.apache.org/viewvc?rev=1308639&view=rev
Log:
Hook up build of patched version of xerces-2.9.1

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

Modified: incubator/lcf/branches/CONNECTORS-443/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-443/build.xml?rev=1308639&r1=1308638&r2=1308639&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-443/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-443/build.xml Tue Apr  3 00:59:43 2012
@@ -2967,12 +2967,28 @@ Use Apache Forrest version forrest-0.9-d
     
     <target name="download-xerces">
         <mkdir dir="lib"/>
-        <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>
+        <!-- Download and build patched version of xerces 2.9.1 -->
+        <mkdir dir="build/download"/>
+        <delete dir="build/download/xerces2-j"/>
+        <antcall target="checkout-source-via-svn">
+            <param name="root-dir" value="build/download"/>
+            <param name="svn-url" value="https://svn.apache.org/repos/asf/xerces/java/tags/Xerces-J_2_9_1"/>
+            <param name="dir-name" value="xerces2-j"/>
+        </antcall>
+        <antcall target="patch-source-via-svn">
+            <param name="root-dir" value="build/download"/>
+            <param name="diff-file" value="../../upstream-diffs/xerces2-j-2.9.1-mcf.patch"/>
+            <param name="dir-name" value="xerces2-j"/>
+        </antcall>
+        <exec dir="build/download/xerces2-j" executable="cmd" osfamily="windows">
+            <arg line="/c build.bat jar"/>
+        </exec>
+        <exec dir="build/download/xerces2-j" executable="/bin/sh" osfamily="unix">
+            <arg value="-c" />
+            <arg value="build.sh" />
+            <arg value="jar" />
+        </exec>
+        <copy todir="lib" file="build/download/xerces2-j/build/xercesImpl.jar"/>
     </target>
     
     <target name="download-xalan">
@@ -3414,7 +3430,7 @@ Use Apache Forrest version forrest-0.9-d
         </antcall>
     </target>
 
-    <target name="make-core-deps" depends="download-solr-plugins,download-sharepoint-plugin,download-jstl,download-xmlgraphics-commons,download-wstx-asl,download-xmlsec,download-xml-apis,download-wss4j,download-velocity,download-streambuffer,download-stax,download-servlet-api,download-xml-resolver,download-osgi,download-opensaml,download-mimepull,download-mail,download-log4j,download-junit,download-jsr181-api,download-jsr250-api,download-jaxws,download-jdbcpool,download-glassfish,download-jaxb,download-tomcat,download-h2,download-h2-support,download-geronimo-specs,download-fop,download-commons,download-derby,download-hsqldb,download-postgresql,download-axis,download-saaj,download-wsdl4j,download-castor,download-jetty,download-xerces,download-xalan,download-activation,download-avalon-framework,download-poi,download-chemistry,download-ecj">
+    <target name="make-core-deps" depends="download-xerces,download-solr-plugins,download-sharepoint-plugin,download-jstl,download-xmlgraphics-commons,download-wstx-asl,download-xmlsec,download-xml-apis,download-wss4j,download-velocity,download-streambuffer,download-stax,download-servlet-api,download-xml-resolver,download-osgi,download-opensaml,download-mimepull,download-mail,download-log4j,download-junit,download-jsr181-api,download-jsr250-api,download-jaxws,download-jdbcpool,download-glassfish,download-jaxb,download-tomcat,download-h2,download-h2-support,download-geronimo-specs,download-fop,download-commons,download-derby,download-hsqldb,download-postgresql,download-axis,download-saaj,download-wsdl4j,download-castor,download-jetty,download-xalan,download-activation,download-avalon-framework,download-poi,download-chemistry,download-ecj">
     </target>
     
     <target name="download-mysql">



Mime
View raw message