You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by hu...@apache.org on 2006/11/14 13:43:49 UTC

svn commit: r474767 - /incubator/woden/trunk/java/build.xml

Author: hughesj
Date: Tue Nov 14 04:43:49 2006
New Revision: 474767

URL: http://svn.apache.org/viewvc?view=rev&rev=474767
Log:
Remove unnecessary extractXmlSchema target which was unnecessarily making a copy of the XmlSchema jar

Modified:
    incubator/woden/trunk/java/build.xml

Modified: incubator/woden/trunk/java/build.xml
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/build.xml?view=diff&rev=474767&r1=474766&r2=474767
==============================================================================
--- incubator/woden/trunk/java/build.xml (original)
+++ incubator/woden/trunk/java/build.xml Tue Nov 14 04:43:49 2006
@@ -122,7 +122,7 @@
 	<!-- Get prerequisite libraries for the build. -->
 	<target name="getPreReq">
 		<mkdir dir="${downloads}" />
-		<available file="${downloads}/${XmlSchemaFile}" property="XmlSchema.exists" />
+		<mkdir dir="${libraryDir}" />
 		<available file="${downloads}/${XercesFile}" property="Xerces.exists" />
 		<available file="${downloads}/${AntFile}" property="Ant.exists" />
 		<available file="${downloads}/${WSDL4JFile}" property="WSDL4J.exists" />
@@ -136,6 +136,7 @@
 		<available file="${libraryDir}/${CommonsLoggingFile}" property="CommonsLogging.exists" />
 		<available file="${libraryDir}/${StaxFile}" property="Stax.exists" />
 		<available file="${libraryDir}/${WstxFile}" property="Wstx.exists" />
+		<available file="${libraryDir}/${XmlSchemaFile}" property="XmlSchema.exists" />
 
 		<antcall target="getXmlSchema" />
 		<antcall target="getXerces" />
@@ -148,8 +149,6 @@
 		<antcall target="getWstx" />
 		<antcall target="getW3cWsdl20" />
 
-		<antcall target="extractXmlSchema" />
-
 		<!-- flatten the lib dir -->
 		<copy todir="${libraryDir}">
 			<mapper type="flatten" />
@@ -168,7 +167,7 @@
 
 	<!-- Get the latest version of XmlSchema from WS commons -->
 	<target name="getXmlSchema" unless="XmlSchema.exists">
-		<get src="${XmlSchemaURL}" dest="${downloads}/${XmlSchemaFile}" />
+		<get src="${XmlSchemaURL}" dest="${libraryDir}/${XmlSchemaFile}" />
 	</target>
 
 	<!-- Get the latest version of Xerces and unzip it -->
@@ -236,11 +235,6 @@
 	<!-- Get the latest version of Wstx API jar -->
 	<target name="getWstx" unless="Wstx.exists">
 		<get src="${WstxURL}" dest="${libraryDir}/${WstxFile}" />
-	</target>
-
-	<!-- Copy the XmlSchema file to the lib dir -->
-	<target name="extractXmlSchema">
-		<copy file="${downloads}/${XmlSchemaFile}" todir="${libraryDir}" />
 	</target>
 
 	<!-- This task builds the Woden API and implementation package.



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