You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by vmanthi <ba...@yahoo.com> on 2007/02/20 11:46:15 UTC
Getting Buildfile: build.xml does not exist! and Build failed
I had my apache-ant-1.6.2 and completed setting varaibles
ANT_HOME
PATH
but when I run basic ant command like ant -version at CMD
getting messages like(copied from the CMD, no manipulation)
build.xml does not exist!
Build failed
Clue: I logged off and logged in as a different user(with my friends login).
Now getting version of ant when I ran the command ant -version at CMD
--
View this message in context: http://www.nabble.com/Getting-Buildfile%3A-build.xml-does-not-exist%21-and-Build-failed-tf3258972.html#a9058817
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Getting Buildfile: build.xml does not exist! and Build failed
Posted by Prashant <pr...@pramati.com>.
Its is not entirely clear what problem is that you are facing.
ant -version prints the version of ANT in the PATH.
ant -v executes default target of build.xml in the current dir in
"verbose" mode. In this case if there is no build.xml in the current
directory you will see messages like
build.xml does not exist!
Build failed
You need a build.xml to invoke ANT.
HTH
-Prashant
vmanthi wrote:
> I had my apache-ant-1.6.2 and completed setting varaibles
>
> ANT_HOME
> PATH
>
> but when I run basic ant command like ant -version at CMD
>
> getting messages like(copied from the CMD, no manipulation)
>
> build.xml does not exist!
> Build failed
>
> Clue: I logged off and logged in as a different user(with my friends login).
> Now getting version of ant when I ran the command ant -version at CMD
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org