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?
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.
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.
You should use ant -version
command instead.
The -v
option is equivalent of -verbose
option.
See Command-line Options Summary
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With