|
@@ -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>
|