Author: jkaputin
Date: Thu Jun 8 12:26:43 2006
New Revision: 412842
URL: http://svn.apache.org/viewvc?rev=412842&view=rev
Log:
Changed the getAnt target so it behaves like getWSDL4J
by adding an <unzip> task to unzip the Ant zip file
into the /lib directory. Removed the extractAnt target
as this was just copying the zip file into /lib.
Modified:
incubator/woden/java/build.xml
Modified: incubator/woden/java/build.xml
URL:
http://svn.apache.org/viewvc/incubator/woden/java/build.xml?rev=412842&r1=412841&r2=412842&view=diff
==============================================================================
--- incubator/woden/java/build.xml (original)
+++ incubator/woden/java/build.xml Thu Jun 8 12:26:43 2006
@@ -117,7 +117,6 @@
<antcall target="getWSDL4J" />
<antcall target="extractXmlSchema" />
- <antcall target="extractAnt" />
<!-- flatten the lib dir -->
<copy todir="${libraryDir}">
@@ -155,6 +154,12 @@
<!-- Get the latest version of Ant and unzip it -->
<target name="getAnt" unless="Ant.exists">
<get src="${AntURL}" dest="${downloads}/${AntFile}" />
+
+ <unzip src="${downloads}/${AntFile}" dest="${libraryDir}">
+ <patternset>
+ <include name="**/ant*.jar" />
+ </patternset>
+ </unzip>
</target>
<!-- Get the latest version of WSDL4J and unzip it -->
@@ -171,11 +176,6 @@
<!-- Copy the XmlSchema file to the lib dir -->
<target name="extractXmlSchema">
<copy file="${downloads}/${XmlSchemaFile}"
todir="${libraryDir}" />
- </target>
-
- <!-- Copy the Ant file to the lib dir -->
- <target name="extractAnt">
- <copy file="${downloads}/${AntFile}" todir="${libraryDir}" />
</target>
<!-- This task builds the Woden API and implementation package.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]