You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2014/06/30 12:48:14 UTC

git commit: Make the CI build rely on the latest build of Ivy

Repository: ant-ivyde
Updated Branches:
  refs/heads/master a1262767d -> 9b5c3e0a5


Make the CI build rely on the latest build of Ivy

Project: http://git-wip-us.apache.org/repos/asf/ant-ivyde/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivyde/commit/9b5c3e0a
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivyde/tree/9b5c3e0a
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivyde/diff/9b5c3e0a

Branch: refs/heads/master
Commit: 9b5c3e0a50289f2b9576fa0b0bccdb598371357d
Parents: a126276
Author: Nicolas Lalevée <ni...@hibnet.org>
Authored: Mon Jun 30 12:47:59 2014 +0200
Committer: Nicolas Lalevée <ni...@hibnet.org>
Committed: Mon Jun 30 12:47:59 2014 +0200

----------------------------------------------------------------------
 build.properties |  3 ++-
 build.xml        | 11 ++++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/9b5c3e0a/build.properties
----------------------------------------------------------------------
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.name=GEF-zest-3.6.2
 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

http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/9b5c3e0a/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index d200d38..7e23b5f 100644
--- a/build.xml
+++ b/build.xml
@@ -557,13 +557,22 @@ forceContextQualifier=${hudson.version.qualifier}
 </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