title: Ant failed to build
body: <p>I have build a Java appliction which is using ant.jar (ant 1.8.2) classes for building android application from it's build.xml file with release as target.
  My Android project has been built by using android create project command, using sdk 2.2.
  When I run my application for building the Android application I get the following message - </p>
  
  <p>build.xml:46: taskdef class com.android.ant.SetupTask cannot be found</p>
  
  <p>I have verified the sdk.dir path and the sdk-location path and both are correct.</p>
  
  <p>How it can be solved?</p>
  
  <p>Thanks,
  Eyal.</p>