title: Target Clean does not exist in the project dir
body: <p>I have installed Ant in my <code>centos 6.3</code> , installed location are
  <code>/opt/ant</code> and also <code>ANT_HOME</code> env are same </p>
  
  <p>I have created <code>build.xml</code> to test by deleting <code>testdir</code>. This directory exist in the <code>/opt/ant/testdir</code> like this.</p>
  
  <h1>build.xml</h1>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;project name="testdir" default="all" basedir="."&gt;
    &lt;property name="src"   value="src"/&gt;
      &lt;property name="build" value="build"/&gt;
        &lt;property name="lib"   value="lib"/&gt;
  
      &lt;target name="all" depends="clean, compile" description="Builds the whole project"&gt;
          &lt;echo&gt;Doing all&lt;/echo&gt;
      &lt;/target&gt;
  
      &lt;target name="clean"&gt;
          &lt;echo message="Deleting bin/java ..." /&gt;
          &lt;delete dir="testdir/test" /&gt;
      &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>Using Command :-</strong> </p>
  
  <pre><code>    ant -buildfile build.xml Clean
  </code></pre>
  
  <p><strong>getting error:-</strong> </p>
  
  <pre><code>    BUILD FAILED
      Target "Clean" does not exist in the project "testdir".
  </code></pre>
  
  <p>Any suggestion to make it work?</p>