Skip to content

Commit 224efeb

Browse files
committed
Merge pull request scala#4746 from sschaef/update-ant-build
Abort Ant build if Ant version is <1.9
2 parents bb52b24 + 15c2381 commit 224efeb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,11 @@ TODO:
506506
</condition>
507507

508508
<fail if="has.unsupported.jdk" message="JDK ${ant.java.version} is not supported by this build!"/>
509+
<fail message="Ant 1.9+ required">
510+
<condition>
511+
<not><antversion atleast="1.9" /></not>
512+
</condition>
513+
</fail>
509514

510515
<!-- Allow this to be overridden simply -->
511516
<property name="sbt.latest.version" value="0.12.4"/>

0 commit comments

Comments
 (0)