Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 71441 invoked by uid 500); 9 Aug 2001 14:47:30 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 71412 invoked from network); 9 Aug 2001 14:47:30 -0000 Message-Id: <5802F7678945D51184440002557C81E20F263C@Server1b.office.isaserver.be> From: Natalia Bello To: "'ant-user@jakarta.apache.org'" Subject: RE: JunitReport. Problem Date: Thu, 9 Aug 2001 16:47:32 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C120E2.38328FE0" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C120E2.38328FE0 Content-Type: text/plain; charset="iso-8859-1" Ok! Now i have download Ant 1.4 Beta1 and it works !! Thanks Stephane! -----Original Message----- From: Stephane Bailliez [mailto:sbailliez@imediation.com] Sent: 09 August 2001 12:42 To: ant-user@jakarta.apache.org Subject: RE: JunitReport. Problem >I have been using junitreport before succesfully, (just having xerces.jar and >xalan.jar in ANT_HOME/lib and neither jaxp.jar nor parser.jar) ok....this is old stuff anyway. >Now i have taken the nightly build and i have this error ( the crimson.jar i have >taken also from the source in the nightly build) >java.lang.NoSuchMethodError > at org.apache.crimson.jaxp.DocumentBuilderImpl.>(DocumentBuilderImpl.java :158) >Them, if i add the jaxp.jar file to ANT_HOME/lib i have this other error: >[junitreport] XSL Error: Cannot use a DTMLiaison for a input DOM node... pass a >org.apache.xalan.xpath.xdom.XercesLiaison instead! >[junitreport] XSL Error: SAX Exception >What i should add, remove, change?? any idea? crimson.jar/jaxp.jar in lib. xerces.jar,xalan.jar in lib/optional This would be the 'default recommended brute way'. The problem is that you end up mixing parsers and jaxp versions... there is a jaxp in xalan and xerces..which is not a good version. It should be much better if you do this. Just let me know. Hopefully the beta to be released today will save you from all this. Stephane ------_=_NextPart_001_01C120E2.38328FE0 Content-Type: text/html; charset="iso-8859-1" RE: JunitReport. Problem

Ok!
Now i have download Ant 1.4 Beta1 and it works !!
Thanks Stephane!

-----Original Message-----
From: Stephane Bailliez [mailto:sbailliez@imediation.com]
Sent: 09 August 2001 12:42
To: ant-user@jakarta.apache.org
Subject: RE: JunitReport. Problem


>I have been using junitreport before succesfully, (just having xerces.jar
and
>xalan.jar in ANT_HOME/lib and neither jaxp.jar nor parser.jar)

ok....this is old stuff anyway.

>Now i have taken the nightly build and i have this error ( the crimson.jar
i have >taken also  from the source in the nightly build)
>java.lang.NoSuchMethodError
>        at
org.apache.crimson.jaxp.DocumentBuilderImpl.<init>>(DocumentBuilderImpl.java
:158)
>Them, if i add the jaxp.jar file to ANT_HOME/lib i have this other error:
>[junitreport] XSL Error: Cannot use a DTMLiaison for a input DOM node...
pass a
>org.apache.xalan.xpath.xdom.XercesLiaison instead!
>[junitreport] XSL Error: SAX Exception
>What i should add, remove, change?? any idea?

crimson.jar/jaxp.jar in lib.
xerces.jar,xalan.jar in lib/optional

This would be the 'default recommended brute way'.

The problem is that you end up mixing parsers and jaxp versions...
there is a jaxp in xalan and xerces..which is not a good version.

It should be much better if you do this. Just let me know.

Hopefully the beta to be released today will save you from all this.

Stephane

------_=_NextPart_001_01C120E2.38328FE0--