Keeping with a tradition here is how to detect Ant 1.7.0 or later:

    <available property="Ant-1.7.0-or-later"
               classname="org.apache.tools.ant.types.ResourceCollection"/>

path: /en/Apache/Ant | #