You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Rakshit Daga <ra...@covigna.com> on 2001/05/01 21:45:09 UTC

new user problem Target `build.xml' does not exist in this project

Hi all,
I am trying to run ant, and for some reason it gives me this error message.

BUILD FAILED

Target `build.xml' does not exist in this project.

and for some reason , if i create an empty target called build.xml ,it looks
at other files in the directory and complains
Target 'x' does not exist in this project.

And this problem is specific to my machine , the build works fine for other
colleagues who use the same build.

Any help or comment really appreciated,
thanks,
Rakshit


RE: new user problem Target `build.xml' does not exist in this project

Posted by Peter Donald <do...@apache.org>.
At 03:27  1/5/01 -0700, Rakshit Daga wrote:
>Nope , i am just doing
>$ ant
>for some reason , it looks for build.xml as a target, and this problem is
>peculiar to my installation,

it may sound dumb but
* Check your ANT_HOME
* Check location of ant cscript on machine (correspond to ANT_HOME???)
* make sure you do not have an alias that is running ant with an extra
parrameter
* If you are using a wrapper scipt make sure it's not the culprit

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


RE: new user problem Target `build.xml' does not exist in this project

Posted by Rakshit Daga <ra...@covigna.com>.
Nope , i am just doing
$ ant
for some reason , it looks for build.xml as a target, and this problem is
peculiar to my installation,

-----Original Message-----
From: Diane Holt [mailto:holtdl@yahoo.com]
Sent: Tuesday, May 01, 2001 1:17 PM
To: ant-user@jakarta.apache.org
Subject: Re: new user problem Target `build.xml' does not exist in this
project


Are you trying to run it like:

$ ant build.xml

If you are, drop the "build.xml".

Diane

--- Rakshit Daga <ra...@covigna.com> wrote:
> Hi all,
> I am trying to run ant, and for some reason it gives me this error
> message.
>
> BUILD FAILED
>
> Target `build.xml' does not exist in this project.
>
> and for some reason , if i create an empty target called build.xml ,it
> looks
> at other files in the directory and complains
> Target 'x' does not exist in this project.
>
> And this problem is specific to my machine , the build works fine for
> other
> colleagues who use the same build.
>
> Any help or comment really appreciated,
> thanks,
> Rakshit
>


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/


Re: new user problem Target `build.xml' does not exist in this project

Posted by Diane Holt <ho...@yahoo.com>.
Are you trying to run it like:

$ ant build.xml

If you are, drop the "build.xml".

Diane

--- Rakshit Daga <ra...@covigna.com> wrote:
> Hi all,
> I am trying to run ant, and for some reason it gives me this error
> message.
> 
> BUILD FAILED
> 
> Target `build.xml' does not exist in this project.
> 
> and for some reason , if i create an empty target called build.xml ,it
> looks
> at other files in the directory and complains
> Target 'x' does not exist in this project.
> 
> And this problem is specific to my machine , the build works fine for
> other
> colleagues who use the same build.
> 
> Any help or comment really appreciated,
> thanks,
> Rakshit
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/