ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Schmetzer" <...@exubero.com>
Subject Re: question about dependencies
Date Wed, 22 Feb 2006 16:13:47 GMT
On Wed, 22 February, 2006 4:03 pm, David Rosenstein wrote:
> Hi All-
> Sorry about the double post.  The rest of my question is here now.
>
> I've seen a couple of rumblings in the archives on this, but I am really
> confused about the ant documentation versus actual behavior on target
> dependencies.  The documentation (
> <http://ant.apache.org/manual/using.html#targets>
> http://ant.apache.org/manual/using.html#targets) seems to imply that once
> a
> target dependency is executed it will never be executed again as a
> dependency.  But if i run this script here:

[snip example]

> After reading the documentation it seems that init should only be called
> once though.  Why is it being called so many times?

Your example uses <antcall>, which has the effect of re-running the entire
antscript with the specified target (and optional parameters). See
http://ant.apache.org/manual/CoreTasks/antcall.html for details.
-- 
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/blog/

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


Mime
View raw message