Browse Source

Only try to grab dependencies once

Change-Id: If876360a982f653587c3f9b1aba03c8322ef4211
Reviewed-on: http://gerrit.dmdirc.com/2392
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
tags/0.6.7rc1
Chris Smith 12 years ago
parent
commit
37fc2f110d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      build-ivy.xml

+ 2
- 1
build-ivy.xml View File

@@ -20,7 +20,7 @@
20 20
              dest="lib/ivy-${ivy.install.version}.jar"/>
21 21
     </target>
22 22
 
23
-    <target name="-init-dependencies" depends="-download-ivy">
23
+    <target name="-init-dependencies" depends="-download-ivy" unless="ivy.done">
24 24
         <!-- Regenerate the classpath as we may have just downloaded Ivy -->
25 25
         <path id="ivy.classpath">
26 26
             <fileset dir="lib" includes="*.jar"/>
@@ -29,5 +29,6 @@
29 29
         <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.classpath"/>
30 30
         <ivy:settings file="etc/ivy/ivysettings.xml"/>
31 31
         <ivy:retrieve symlink="true" pattern="lib/[artifact]-[revision].[ext]" />
32
+        <property name="ivy.done" value="true"/>
32 33
     </target>
33 34
 </project>

Loading…
Cancel
Save