On Wed, 20 Feb 2002, Esteban Gonzalez <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to