ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Downes" <mdow...@accelrys.com>
Subject RE: Junit Report Problems
Date Wed, 28 Nov 2001 16:20:17 GMT
Hi Stephane

Thanks for you input on this, but can I clarify that xalan-j_2_2_D10 which
has xalanj1compat.jar and xalan-j_2_2_D13 which does not have the
xalanj1compat.jar should no longer be used.

Also are they not both xalan 2?

Regards

Mike

-----Original Message-----
From: Stephane Bailliez [mailto:sbailliez@imediation.com]
Sent: Wednesday, November 28, 2001 1:53 PM
To: Ant Users List
Subject: RE: Junit Report Problems



Compatibility problem between Xalan used when compiling Ant and Xalan you
are running.
Are you really using the compatibility jar from xalan 2 instead of xalan1 ?

if possible stick to xalan2 and do not use the xalan1 api.

--
 St├ęphane Bailliez
 Software Engineer, Paris - France
 iMediation - <http://www.imediation.com>
 Disclaimer: All the opinions expressed above are mine and not those from my
company.


>  -----Original Message-----
> From: 	Mike Downes [mailto:mdownes@accelrys.com]
> Sent:	Wednesday, November 28, 2001 1:40 PM
> To:	ant-user@jakarta.apache.org
> Subject:	Junit Report Problems
>
> I am running Cruisecontrol 1.2.1a, ant v1.4.1, junit v3.6 and
> xalan-j_2_2_D10. I want to parse the xml report generated by the junit tag
> in build.xml.
>
> I have included the optional.jar file from apache and have installed
> the jaxp.jar and cimson.jar xml parser. On a build i get the following
> error:
>
> Has anyone successfully implemented the XML to HTML function in ant?
>
> C:\framework\build.xml:73:
> 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/Aggr
> egateTransformer, method: getXSLStreamSource signature:
> (Ljava/lang/String;)Lorg
> /apache/xalan/xslt/XSLTInputSource;) Incompatible object argument for
> function c
> all
>         at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.crea
> teReport(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper
> .java:167)
>         at
> org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionH
> elper.java:275)
>         at
> org.apache.tools.ant.ProjectHelper$NestedElementHandler.init(ProjectH
> elper.java:535)
>         at
> org.apache.tools.ant.ProjectHelper$TaskHandler.startElement(ProjectHe
> lper.java:499)
>         at
> org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
> va:329)
>         at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1451)
>         at
> org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
>         at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
>         at
> org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
>         at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
>         at
> org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
>         at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
>         at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
>         at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
>         at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
>
>         at
> org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
>
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:317)
>         at
> org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
> a:85)
>         at org.apache.tools.ant.Main.runBuild(Main.java:403)
>         at org.apache.tools.ant.Main.main(Main.java:149)
>
>
> Mike
>
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>  << File: ATT29170.txt >>


--
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