Skip to content

Commit c80cc37

Browse files
committed
Don’t fetch Ivy if it is available
(homebrew Ant distribution includes Ivy and BCEL)
1 parent 60e0cdc commit c80cc37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

check.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@
147147
value="${htmlcheck.report.dir}/report.txt"
148148
description="Report file of the HTML-Check"/>
149149

150+
<available classname="org.apache.ivy.Ivy" property="ivy.present"/>
150151

151-
<target name="init-ivy">
152+
<target name="init-ivy" unless="ivy.present">
152153
<property name="ivy.version" value="2.5.0"/>
153154
<property name="ivy.jar.url" value="https://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"/>
154155
<property name="ivy.jar.dir" value="${build.dir}/ivy"/>

0 commit comments

Comments
 (0)