If you do not specific a build file name, Ant expects a build file name build.xml to exist in the current directory. If you have a build.xml file, "cd" to that directory first and then run Ant. If you do not have a build.xml file, you need to create one.
If you are new to Ant, might I recommend Ant in Action?
Originally posted by Abder-Rahman Ali: When I type the command "ant" from DOS, I get the following:
Buildfile: build.xml does not exist! Build failed
How can I solve this issue?
Thanks.
It seems that, you have made the build file with a different name(other than build.xml) To solve this issue, use command "ant -f buildfile.xml" instead of "ant" to perform build process.