velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wgl...@apache.org
Subject svn commit: r492593 - /velocity/engine/trunk/build/download.xml
Date Thu, 04 Jan 2007 15:11:35 GMT
Author: wglass
Date: Thu Jan  4 07:11:35 2007
New Revision: 492593

URL: http://svn.apache.org/viewvc?view=rev&rev=492593
Log:
fixed build problem - wasn't properly downloading hsqldb and junit jar files

Modified:
    velocity/engine/trunk/build/download.xml

Modified: velocity/engine/trunk/build/download.xml
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/build/download.xml?view=diff&rev=492593&r1=492592&r2=492593
==============================================================================
--- velocity/engine/trunk/build/download.xml (original)
+++ velocity/engine/trunk/build/download.xml Thu Jan  4 07:11:35 2007
@@ -67,7 +67,20 @@
          ignoreerrors="false" />
   </target>
 
-  <target name="http-test-download" unless="skip.jar.loading">
+  <target name="http-test-download">
+    <condition property="skip-download">
+      <or>
+        <istrue value="${skip.jar.loading}"/>
+        <and>
+          <isfalse value="${force.jar.loading}"/>
+          <available file="${build.test.lib}/${download.jarname}-${download.jarversion}.jar"/>
+        </and>
+      </or>
+    </condition>
+    <antcall target="do-http-test-download"/>
+  </target>
+
+  <target name="do-http-test-download" unless="skip-download">
     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
     <get src="${repo.url}/${download.jarname}/jars/${download.jarname}-${download.jarversion}.jar"
          dest="${build.test.lib}/${download.jarname}-${download.jarversion}.jar"



Mime
View raw message