ant-dev mailing list archives

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

> I get the following error when I run "ant foo moo":
> /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.


> -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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message