Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 58328 invoked by uid 500); 23 Jul 2003 10:25:07 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 58314 invoked from network); 23 Jul 2003 10:25:07 -0000 Received: from unknown (HELO pegasus.axiomsystems.com) (194.42.245.4) by daedalus.apache.org with SMTP; 23 Jul 2003 10:25:07 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: junit report should not split error and output stream Date: Wed, 23 Jul 2003 11:25:20 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: junit report should not split error and output stream Thread-Index: AcNRAqwSVzV8mbg6SXSQDhQCloarmwAAWlxAAAAj5sA= From: "Keith Hatton" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Or, another option, instead of e.printStackTrace() use e.printStackTrace(System.out) Keith -----Original Message----- From: Keith Hatton=20 Sent: 23 July 2003 11:23 To: Ant Users List Subject: RE: junit report should not split error and output stream I'd be -1 about such a change. The JVM purposely distinguishes = System.out from System.err. But I agree that sometimes it is useful to force both to the same sink, = in order to tally up the output. Perhaps in the setUp() of your unit test cases you could call System.setErr(System.out) or something similar? Hope this helps Keith -----Original Message----- From: Michael Damberger [mailto:michael.damberger@t-online.de] Sent: 23 July 2003 11:04 To: user@ant.apache.org Subject: junit report should not split error and output stream I use the ant junit and junitreport tasks and the XML formatter. in the output xml file the error stream is separated from the output = stream, so that you cannot tell where an exception has occurred. In my opinion this is very bad and should be changed - or does any workaround exist? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org