ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant bug or user error?
Date Wed, 27 Mar 2002 08:52:12 GMT
On Tue, 26 Mar 2002, Paul Kilroy <paulkilroy@yahoo.com> wrote:

> I get the following error when I run "ant foo moo":
> BUILD FAILED
> /home/pkilroy/antbug/build.xml:4: You must specify the
> jar file to create!

An Ant bug IMHO.

> I think the is related to the fact that ant caches
> targets (and their tasks), but the task is "cleaned
> up" at the end of the execute method. This pretty much
> invalidates the cache for the target.

Yes.

> -Don't run the target again, it's already been run.

or alternatively, don't use cached tasks.

We've always said that "ant foo moo" is supposed to be the same as
"ant foo; ant moo" which it obviously is not.

Stefan

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


Mime
View raw message