Error while running ant build.xml -
    hi below code when iam running code command prompt ant run iam getting error   error: f:\xxx\build.xml:29: problem: failed create task or type target cause: name undefined. action: check spelling. action: check custom tasks/types have been declared. action: check <presetdef>/<macrodef> declarations have taken place.   this code:                  <target name="checkout" description="checkout code perforce">         <exec executable="cmd">             <arg value="/c"/>             <arg value="p4 -u -p sync"/>             <arg value="-p"/>         </exec>     </target>     <target name="getlatestcode" description="checkout , latest code perforce">         <exec executable="cmd">             <arg value="/c"/>             <arg value="p4"/>             <arg value="-p"/>         </exec...