Author: hughesj
Date: Mon Nov 13 05:47:47 2006
New Revision: 474314
URL: http://svn.apache.org/viewvc?view=rev&rev=474314
Log:
W3C test suite zip download was happening on every ant build.
Zip is downloaded to ${downloads} but W3cWsdl20.exists only set if zip
is found in ${w3cDir}. W3cWsdl20.exists now checks ${downloads} dir.
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=474314&r1=474313&r2=474314
==============================================================================
--- incubator/woden/trunk/java/build.xml (original)
+++ incubator/woden/trunk/java/build.xml Mon Nov 13 05:47:47 2006
@@ -126,6 +126,9 @@
<available file="${downloads}/${XercesFile}"
property="Xerces.exists" />
<available file="${downloads}/${AntFile}" property="Ant.exists"
/>
<available file="${downloads}/${WSDL4JFile}"
property="WSDL4J.exists" />
+
+ <!-- W3C test suite zip -->
+ <available file="${downloads}/${W3cWsdl20File}"
property="W3cWsdl20.exists" />
<!-- The following jars are downloaded straight into the
libraryDir -->
<available file="${libraryDir}/${AxiomApiFile}"
property="AxiomApi.exists" />
@@ -134,10 +137,6 @@
<available file="${libraryDir}/${StaxFile}"
property="Stax.exists" />
<available file="${libraryDir}/${WstxFile}"
property="Wstx.exists" />
- <!-- The following zip is downloaded into the w3cDir -->
- <mkdir dir="${w3cDir}" />
- <available file="${w3cDir}/${W3cWsdl20File}"
property="W3cWsdl20.exists" />
-
<antcall target="getXmlSchema" />
<antcall target="getXerces" />
<antcall target="getAnt" />
@@ -208,6 +207,7 @@
<!-- Get the latest W3C WSDL 2.0 Test Cases and Schemas and unzip it -->
<target name="getW3cWsdl20" unless="W3cWsdl20.exists">
+ <mkdir dir="${w3cDir}" />
<get src="${W3cWsdl20URL}" dest="${downloads}/${W3cWsdl20File}"
/>
<unzip src="${downloads}/${W3cWsdl20File}" dest="${w3cDir}" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]