Is the file in the appropriate place? From the Ant docs: public void setAntfile(java.lang.String s)
The build file to use. Defaults to "build.xml". This file is expected to be a filename relative to the dir attribute given.
You can use the following method to set the directory:
public void setDir(java.io.File d)
The directory to use as a base directory for the new Ant project. Defaults to the current project's basedir, unless inheritall has been set to false, in which case it doesn't have a default value. This will override the basedir setting of the called project.
HTH [ December 05, 2008: Message edited by: Tom Johnson ]