ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Jia <b...@brightspark.com>
Subject RE: junit report
Date Thu, 30 Aug 2001 14:35:18 GMT
you can use Junitreport to do that

-----Original Message-----
From: Jonathan Carlson [mailto:joncrlsn@yahoo.com]
Sent: Thursday, August 30, 2001 10:20 AM
To: ant-user@jakarta.apache.org
Subject: Re: junit report


I'm new to this mailing list so I apologize if this has been answered
before.  Will Ant 1.4 allow us to specify the jUnit GUI for the reporting
output?  We here at my company are under the impression that it can't be
done in 1.3 and we really need the batching capability of the jUnit task.

Jonathan Carlson
joncrlsn@users.sf.net <mailto:joncrlsn@users.sf.net> 

Erik Hatcher wrote:


I recommend you upgrade to Ant 1.4beta2 (Ant 1.4 release isn't far off
either).   Many improvements with the <junitreport> have happened and
chances are that it'll solve this problem for you.

    Erik


----- Original Message -----
From: "Satish Kumar"   <mailto:mail2gsat@yahoo.com> <mail2gsat@yahoo.com>
To:   <mailto:ant-user@jakarta.apache.org> <ant-user@jakarta.apache.org>
Sent: Thursday, August 30, 2001 4:00 AM
Subject: junit report



Hi,
    I have a problem running junit report task under
Ant 1.3 (Windows NT ).It gives me the following error
after i added xalan1compat.jar ..Can somebody help

E:\Temp\build.xml:51: java.lang.VerifyError: (class:
org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer,
method: getXSLStreamSource signature:
(Ljava/lang/String;)Lorg/apache/xalan/xslt/XSLTInputSource;)
Incompatible object argument for function call
--- Nested Exception ---
java.lang.VerifyError: (class:
org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer,
method: getXSLStreamSource signature:
(Ljava/lang/String;)Lorg/apache/xalan/xslt/XSLTInputSource;)
Incompatible object argument for function call
        at


org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.createRepor
t(XMLResultAggregator.java:114)

        at java.lang.reflect.Method.invoke(Native
Method)
        at


org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper.java:1
67)

        at


org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelper.j
ava:275)

        at


org.apache.tools.ant.ProjectHelper$NestedElementHandler.init(ProjectHelper.j
ava:535)

        at


org.apache.tools.ant.ProjectHelper$TaskHandler.startElement(ProjectHelper.ja
va:499)

        at
com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
        at
com.sun.xml.parser.Parser.content(Parser.java:1499)
        at
com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at
com.sun.xml.parser.Parser.content(Parser.java:1499)
        at
com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at
com.sun.xml.parser.Parser.content(Parser.java:1499)
        at
com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at
com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
        at
com.sun.xml.parser.Parser.parse(Parser.java:284)
        at
javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
        at
org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
        at
org.apache.tools.ant.Main.runBuild(Main.java:403)
       

 at
org.apache.tools.ant.Main.main(Main.java:149)


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!

Messenger

http://im.yahoo.com <http://im.yahoo.com> 





Mime
View raw message