Guys, i get a error when i try to build Ant. I am using

Tomcat Version : 6.0
Ant Version : 1.7.1
Java : 1.6

The error which i get is

C:\myusers>ant new
Buildfile: build.xml

C:\myusers\build.xml:164: taskdef class org.apache.catalina.ant.RemoveTask cannot
t be found

Total time: 0 seconds
I checked into the tomcat folder in the lib and found that RemoveTask File is present in the catalina-ant.jar

Why is Ant not locating the jar file in my Tomcat lib? I have checked the environment variables set and it sounds clear.

Update :

In the build.xml file its something like this.

<taskdef file="">
<pathelement path="${tomcat.home}/server/lib/catalina-ant.jar"/>