Author: jfrederic.clere(a)jboss.com
Date: 2008-11-27 08:29:49 -0500 (Thu, 27 Nov 2008)
New Revision: 2074
Modified:
trunk/mod_cluster/test/java/build.xml
Log:
Arrange more dependencies.
Modified: trunk/mod_cluster/test/java/build.xml
===================================================================
--- trunk/mod_cluster/test/java/build.xml 2008-11-27 13:02:14 UTC (rev 2073)
+++ trunk/mod_cluster/test/java/build.xml 2008-11-27 13:29:49 UTC (rev 2074)
@@ -161,10 +161,15 @@
</target>
<target name="testexist">
- <echo message="Testing for ${destfile}"/>
+ <echo message="Testing for ${destfile}"/>
<available file="${base.path}/${destfile}"
property="exist"/>
</target>
+ <target name="testexistdir">
+ <echo message="Testing for ${destfile} in ${destdir}"/>
+ <available file="${base.path}/${destdir}/${destfile}"
property="exist"/>
+ </target>
+
<target name="downloadgz" unless="exist"
depends="setproxy,testexist">
<!-- Download and extract the package -->
<get src="${sourcefile}" dest="${base.path}/file.tar.gz"
/>
@@ -174,7 +179,7 @@
<delete file="${base.path}/file.tar.gz"/>
</target>
- <target name="downloadfile" unless="exist"
depends="setproxy,testexist">
+ <target name="downloadfile" unless="exist"
depends="setproxy,testexistdir">
<!-- Download extract the file -->
<mkdir dir="${destdir}" />
<get src="${sourcefile}" dest="${destfile}" />
Show replies by date