I am trying to figure out which Apache Ant version is running on the Jenkins server. Starting from Apache Ant 1.7.0, you can make use of the <Antversion> task to determine the running Ant version. The following is a simple build.xml which could serve this purpose.
<project name="ant-antversion-example" default="run" basedir=".">
<target name="run">
<echo message="Checking ANT version ..."/>
<antversion property="antversion"/>
<echo message=" version: ${antversion}"/>
</target>
</project>
Done =)
Reference Apache Ant – <Antversion>


I am using Ant as a build tool for my selenium scripts .
I have multiple .properties file (eg. like qa.properties / prod.properties / perf.properties).I want to pass the parameters from each of the .properties file to ANT .how do i do it ?Please help
LikeLike