Make the CI build rely on the latest build of Ivy
diff --git a/build.properties b/build.properties
index 21ad35a..135698c 100644
--- a/build.properties
+++ b/build.properties
@@ -48,4 +48,5 @@
hudson.download.zest.dropdir=tools/gef/downloads/drops/3.6.2/R201102251600
hudson.download.zest.md5=b7b6f7f07c876ebebdf987e0b3b758e1
-hudson.ivy.version=2.4.0-rc1
+#hudson.ivy.version=2.4.0-rc1
+hudson.ivy.jar.url=https://builds.apache.org/job/Ivy/lastSuccessfulBuild/artifact/build/artifact/jars/ivy.jar
diff --git a/build.xml b/build.xml
index d200d38..7e23b5f 100644
--- a/build.xml
+++ b/build.xml
@@ -557,13 +557,22 @@
</echo>
</target>
- <target name="hudson-install-ivy">
+ <target name="hudson-install-ivy-jar" if="hudson.ivy.jar.url">
+ <ant antfile="build.xml" target="install-ivy">
+ <property name="ivy.jar.url" value="${hudson.ivy.jar.url}" />
+ <property name="baseLocation" location="${basedir}/dependencies/${hudson.download.sdk.name}" />
+ </ant>
+ </target>
+
+ <target name="hudson-install-ivy-release" unless="hudson.ivy.jar.url">
<ant antfile="build.xml" target="install-ivy">
<property name="ivy.version" value="${hudson.ivy.version}" />
<property name="baseLocation" location="${basedir}/dependencies/${hudson.download.sdk.name}" />
</ant>
</target>
+ <target name="hudson-install-ivy" depends="hudson-install-ivy-jar,hudson-install-ivy-release" />
+
<!--
======================================================================================
Targets related to the generation of the documentation included in the eclipse plugin