You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Vincent Massol <vi...@massol.net> on 2006/06/27 17:07:47 UTC

Logging output from the Java task?

Hi,

I'm using Ant programatically in Cargo (to start J2EE containers) and I'd
like to be able to log Ant's Java task output to Cargo's logging system.

We're currently using Ant 1.5.x but I've seen that there's now an I/O
redirector in Ant 1.6.2 which may help. I've also noticed that this
redirector can accept a filtechain. Thus I was thinking about moving to Ant
1.6.3 and implementing a custom Filter Reader that would log the process's
output.

Is that the right way to do it? Is there any easier way?

Thank you
-Vincent


	

	
		
___________________________________________________________________________ 
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire.
http://fr.mail.yahoo.com

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