ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <>
Subject Re: [Ant-contrib-developers] foreach
Date Tue, 07 Oct 2003 15:21:33 GMT
On 10/07/2003 07:57 AM Stefan Bodewig wrote:
> On Mon, 6 Oct 2003, Matthew Inger <> wrote:
>>OK.  I see what you mean, however, the output is controlled
>>via ANT's execution mechanism.
> It is controlled via the BuildListeners.

Are buildlisteners configurable in what they output?

> <foreach> (ab)uses <antcall> internally, the result is that for each
> iteration you get an invocation of <antcall>, thus the target gets
> started once per iteration and you get the target's label once per
> iteration using DefaultLogger.
> If you switched to something like NoBannerLogger, you wouldn't get any
> target labels at all.
>>ANT-CONTRIB cannot control what is output from that.  The output is
>>part of the core definition of the "Target" class.
> <foreach> could try to use a BuildLogger of its own rather than the
> DefaultLogger and suppress the targetStarted events, but that would be
> cumbersome to say the least.  Probably even impossible.

I take it that is something that would require code changes and isn't 

>>Talk to the ant-dev team if this bothers you, as we have no control
>>over it.
> And I've just sent Adam over to ant-contrib-dev for questions about
> <foreach>, tss.  8-)
I see the thread is being cc'd to the ant-user list anyway.

ant 1.6alpha + java 1.4.2 on Linux 2.4.20 RH9

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

View raw message