From: "Dominique Devienne" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List" <[email protected]>
To: "Ant Users List" <[email protected]>
Subject: RE: How to supress output
Date: Fri, 21 Jan 2005 14:56:51 -0600

>
> Pretty much; it goes through a lot of pain to set up
> the ExecuteStreamHandler used by the Execute.

So assuming the ClearCase tasks use Execute (likely),
simply adding a addRedirector(Redirector) to them, and
passing that one to Execute should work, and allow to
use an <outputfilterchain> to filter out some of the
clearcase output, assuming it follows a known pattern.


I've looked into the code, but I don't entirely understand it. The base ClearCase task does indeed use Execute and passes a LogStreamHandler (ExecuteStreamHandler subclass) to the constructor.

We've generally found the ClearCase update task output utterly redundant, since the task can generate a log file that records anything important. Our target echoes the concise log file to the screen at the end of the update.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to