ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: A consice ouput for failed JUint task
Date Sun, 03 Mar 2002 22:52:25 GMT
An enhancement was made to reduce the stack trace to only the non-JUnit
classes.  It is part of the CVS codebase and nightly builds of 1.5alpha.

Is that the output you want reduced?  If not, send us the output you're not
liking.

    Erik


----- Original Message -----
From: "Yiu Wing" <yiuwing.yip@virgin.net>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Sunday, March 03, 2002 12:57 PM
Subject: A consice ouput for failed JUint task


> Hello All,
>
> I've got a JUint task in the build file.  But every time when the test
> fails, ant writes out a big chunk of error messages to the screen.
Whereas
> the native JUnit error messages prints out the line in the source code
where
> the test fails and a couple of lines for the summary.  I've looked up the
> docs, but I couldn't find a way to make ant to output the original message
> from JUnit.  I suppose I could use an exec task but that would defeat the
> purpose of the JUnit task.
>
> Could someone shed light on my build file?  The following is the snippet
for
> JUnit task
>
>  <target name="runtest" depends="compiletest">
>   <junit dir="${build}/test" fork="yes" printsummary="yes"
> haltonfailure="yes">
>    <test name="AllJUnitTests" haltonfailure="yes" outfile="testResult"/>
>    <!-- set usefile to "yes" to redirect output to the outfile -->
>    <formatter usefile="yes" type="plain"/>
>    <classpath refid="test.classpath"/>
>   </junit>
>  </target>
>
> Thanks for the help.
>
> Yiu Wing
>
>
> --
> 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