I have 2 files called test.xml and build.xml.
build.xml is present in D:/Location/build.
I am running build.xml from test.xml as below
<target name="call build.xml" >
<
ant dir="D:/Location/build" antfile="build.xml"/>
</target>
build.xml has taskdef as given below
<taskdef name="writeManifest" classname="com.mycompany.ant.Test"/>
When I run the build.xml file is runs fine without any error.
However if I run test.xml(which inturn invokes build.xml) I am getting error that
taskdef class com.gft.ant.Test cannot be found.
What may be the problem?