Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ant build.xml file doesn't exist

Tags:

java

ant

After the installation of my ant in my windows 7 . In cmd i typed ant -v it's given the ant version but it says the following also.

Buildfile: build.xml does not exist! Build failed 

What's the problem in the system. How i can rectify this issue?

like image 678
Arung Avatar asked Sep 23 '11 11:09

Arung


People also ask

Where is build xml in Ant?

Typically, Ant's build file, called build. xml should reside in the base directory of the project. However, there is no restriction on the file name or its location.

How do I run Ant build xml in Intellij?

In the Project tool window, right-click the generated build file and select Add as Ant Build File to open it in the Ant tool window. In the Select Path dialog, navigate to the desired build. xml file, and click OK. A build file should have at least a root element to be added to the Ant Build tool window.


1 Answers

You should use ant -version command instead.
The -v option is equivalent of -verbose option.
See Command-line Options Summary

like image 182
Alex K Avatar answered Oct 08 '22 05:10

Alex K