On Tue, 17 Jan 2006, somath nao <[EMAIL PROTECTED]> wrote: > I'm trying to get the jUnit task to show the results in a xml > format, however, when I add "<formatter type="xml" />" in the Ant > build script I get java.lang.NullPointerException at > .XMLJUnitResultFormatter.formatOutput(XMLJUnitResultFormatter.java:253)
Which exact version of Ant is this (helps to locate what ant is trying to do at that line)? > Here's what I have in the ant build file: > > <junit printsummary="yes" fork="yes" > haltonfailure="yes" > showoutput="no"> > <classpath> > <path refid="compile.classpath" /> > </classpath> > <formatter type="xml" /> > <test name="com.funb.doit.net.TestHelloWorld" > outfile="result" > > <formatter type="xml" /> > </test> > </junit> Do you really want to separate xml formatters? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]