Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta-2
-
Component/s: Ant integration
-
Labels:None
-
Number of attachments :
Description
Groovy apparently needs ant version 1.7 to build, or at least ant 1.6.5 rather than ant 1.6.2, so it might be worth adding an explicit version check to the ant build file to prevent the build failing half-way through...
<target name="checkVersion" description="Ensure that we're running ant 1.7">
<fail message="Please install using ant 1.7">
<condition>
<not>
<contains string="${ant.version}" substring="1.7"/>
</not>
</condition>
</fail>
</target>
that's fine for testing 1.7, but what about later versions? 1.8 for example