 <ol> <li>Probably you don't have environment variable ANT_HOME set properly</li> <li>It seems that you are calling Ant like this: "ant build..xml". If your ant script has name build.xml you need to specify only a target in command line. For example: "ant target1".</li> </ol>