as the name suggest [color=#FF0000:pjajygd6]init [/color:pjajygd6]is for initiation and [color=#FF0000:pjajygd6]setClassPath [/color:pjajygd6]is for locating and loading all the jar files.
Thanks for the quick reply. Could you please explain me why we included the below statements in these targets ??
<pathconvert pathsep=":"
property="test.classpath"
refid="classpath_jars"/>
<target name="init" depends="setClassPath">
<tstamp>
<format property="start.time" pattern="MM/dd/yyyy hh:mm aa" />
</tstamp>
<condition property="ANT"
value="${env.ANT_HOME}/bin/ant.bat"
else="${env.ANT_HOME}/bin/ant">
<os family="windows" />
</condition>
Thanks in advance,
Purnachand
read this, it is a very good resource.
http://www.guru99.com/using-apache-ant-with-selenium.html