ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Fuller" <jim.ful...@ruminate.co.uk>
Subject RE: How grab output to "System.out"?
Date Fri, 30 Jan 2004 00:09:35 GMT
> From: Robert Paris [mailto:rpjava@hotmail.com] 
> Sent: 30 January 2004 00:04
> To: user@ant.apache.org
> Subject: How grab output to "System.out"?

> I am working with Ant programatically and I need to be able 
> to grab the 
> output (outputstream) from programs that run in Ant. I know 

> Ant does this as 
> when my program does:

>      System.out.println( "test" );
> Ant actually prints:
>      [Java] test

Which is normal behavior,

If your question is not ant based, that is 'how do I redirect
System.out' the following link does a clear job of describing the
technique.

http://www.churchillobjects.com/c/12020.html

Cheers, Jim Fuller


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


Mime
View raw message