ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Strange Problem
Date Wed, 20 Feb 2002 15:48:31 GMT
On Wed, 20 Feb 2002, Esteban Gonzalez <egonzalez@outside.com.ar>
wrote:
> Hi, I´ve just installed ant 1.4.1, did everything that says on the
> manual.. got the build.xml file working neatly for some time, until
> I tried to use another target..  doing
> 
> [egonzalez@actest egonzalez]$ ant
> Searching for build.xml ...
> Buildfile: /home/egonzalez/build.xml
> init:
> compile:
> BUILD SUCCESSFUL
> 
> but trying to do
> 
> [egonzalez@actest egonzalez]$ ant dist
> Searching for dist ...
> Could not locate a build file!

Looks as if the ant script you invoke is not ant in ANT_HOME/bin but a
different script that adds the -find option as the last argument to
the java invocation before "$@".

What does "which ant" return?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message