ant build.xml file doesn't exist
Solution 1:
You should use ant -version
command instead.
The -v
option is equivalent of -verbose
option.
See Command-line Options Summary
Solution 2:
If I understand correctly, you assumed that -v
is the "print version" command. Check the documentation, that is not the case -- instead ant -v
is running ant build in verbose
mode. So ant is trying to perform your build, based on the build.xml
file, which is obviously not there.
To answer your question explicitly: there is probably nothing wrong with both the system nor ant installation.
Solution 3:
may be you can specify where the buildfile is located and then invoke desired action.
Eg: ant -file {BuildfileLocation/build.xml} -v
Solution 4:
You have invoked Ant with the verbose (-v) mode but the default buildfile build.xml
does not exist. Nor have you specified any other buildfile
for it to use.
I would say your Ant installation is fine.