ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Berry <christopher.be...@etrade.com>
Subject RE: log4j + JUnit + Ant 1.4
Date Fri, 16 Nov 2001 15:15:33 GMT
It is set to withOutAndErr. This did not help. Only with the change below
does the output end up in the Formatter. I instrumented the source and
traced it back to the JUnitTestRunner. 

 -----Original Message-----
 From: Stefan Bodewig [mailto:bodewig@apache.org]
 Sent: Friday, November 16, 2001 6:14 AM
 To: ant-user@jakarta.apache.org
 Subject: Re: log4j + JUnit + Ant 1.4
 
 
 On Thu, 15 Nov 2001, Christopher Berry <christopher.berry@etrade.com>
 wrote:
 
 > NOTE: In order to see my output in the JUnit Formatters, I ended up
 > having to add the following lines to JUnitTestRunner::run().
 > System.setOut( systemOut );
 
 You are supposed to get the output in the formatters and things like
 PlainJUnitFormatter deal with them.  If you want to see it during your
 normal ant executions, set the printsummary attribute of your junit
 task to withOutAndErr.
 
 Stefan
 
 --
 To unsubscribe, e-mail:   
 <mailto:ant-user-unsubscribe@jakarta.apache.org>
 For additional commands, e-mail: 
 <mailto:ant-user-help@jakarta.apache.org>
 

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


Mime
View raw message