I am getting error messages like "build.xml" can not be found "Build Failed!' when ever I try to run the ant command. My set up for ant is ANT_HOME C:\jakarta-ant-1.3 Can anybody help please? Yem
yem, JavaRanch has a naming policy which is strictly enforced. Please read the policy and change your display name if you wish to continue posting here. You can change your name: here
Run Ant in the directory where you have your build file. Ant looks for a file named build.xml by default. If you've used a different name, use ant -buildfile. Have a look at the docs that should be in the folder where you installed Ant or type ant -help on the command line. Craig
you need the build.xml file in somewhere to run Ant. Or if you specify ant -buildfile yourownbuildfile.xml Check the Ant manual you downloaded for intro. and tasks. The API helps too if you use more extensively. $ANT_HOME\docs\manual\index.html $ANT_HOME\docs\manual\api\index.html
Tony Yan<br /> <br />IBM Certified Developer XML and Related Technology<br />Sun Certified Web Component Developer For J2EE Platform<br />Sun Certified Programmer For Java 2 Platform