I think upgrading Ant is a good idea ;-)
Ant 1.6.5 is current, 1.7 is on the pipeline.

But you could also implement your own logger and catch all Ants output - 
including the <java> stuff.
http://ant.apache.org/manual/listeners.html


Jan

>-----Ursprüngliche Nachricht-----
>Von: Vincent Massol [mailto:[EMAIL PROTECTED] 
>Gesendet: Dienstag, 27. Juni 2006 17:08
>An: user@ant.apache.org
>Betreff: 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: [EMAIL PROTECTED] For 
>additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to