title: Build.xml issue
body: <p>Selenium - ANT -TestNG  </p>
  
  <p>I have written a build.xml, where it produces a error stating " classname attribute of taskdef element is undefined " </p>
  
  <p>Here is my build.xml </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; 
   &lt;project name ="AutomationScripts" default="test" basedir="."&gt;
   &lt;echo message ="Testing selenium server... Plz wait"/&gt;
   &lt;target name="startServer"&gt;
   &lt;echo message ="Start selenium server... Plz wait"/&gt;  
   &lt;java jar="..\lib\selenium-server-standalone-2.19.0.jar" fork="true"&gt;
   &lt;jvmarg value="-Dhttp.proxyHost=192.168.0.200"/&gt;
   &lt;jvmarg value="-Dhttp.proxyPort=3128"/&gt; &lt;/java&gt;
   &lt;echo message ="Started selenium server"/&gt;
   &lt;/target&gt;
   &lt;target name="test" depends="startServer"&gt;
   &lt;echo message="Test run. Please wait"/&gt;
   &lt;mkdir dir="out" /&gt;
   &lt;java classname="RosettastoneMain" classpath="..\AutomationScripts\bin" 
   dir="C:\Program Files\Java\jdk1.6.0_11\bin"&gt;
   &lt;classpath&gt;
  &lt;fileset dir="..\AutomationScripts\lib" includes="*.*"/&gt;
   &lt;/classpatha&gt;&lt;/java&gt;
   &lt;taskdef name="testng" classpath="org.testng.TestNG"&gt;     ---------&gt; It produces 
   error in this stmt 
   &lt;classpath&gt;
   &lt;pathelement location="../lib/testng-6.2.jar"/&gt;
   &lt;/classpath&gt;
   &lt;/taskdef&gt;
   &lt;property name="testng.output.dir" value="testngOutput"/&gt;
   &lt;path id="classes"&gt;
   &lt;fileset dir="../lib"&gt;
    &lt;include name="*.jar"/&gt;
   &lt;/fileset&gt;
   &lt;pathelement location="${bin.dir}"/&gt;
   &lt;/path&gt;
   &lt;mkdir dir="${testng.output.dir}"/&gt;
   &lt;testng outputdir="${testng.output.dir}" classpathref="classes"&gt;  
   &lt;xmlfileset dir="." includes="testng.xml"/&gt;  
   &lt;/testng&gt; &lt;/target&gt;
  &lt;target name="stopServer"&gt;
   &lt;echo message="stop selenium server. Plz wait"/&gt;
   &lt;get taskname="selenium-shutdown" 
   src="http://localhost:4444/selenium-server-standalone-2.0rc2/driver/?cmd=shutDown"
   dest="./out/sever.stop.status.txt" ignoreerrors="true"/&gt;
  &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Can any one help me out 
  thanks in advance </p>