OK - I give.  I might have to admit that I'm not smart enough to use this
tool.  I can't for the life of me find xalan 1.2.2.  If it's on the ant
website (jakarta.apache.org/ant) I couldn't see it.  
Could some kind soul give me a pointer to where to find it?

Thanks!
jima
[EMAIL PROTECTED]

> -----Original Message-----
> From: Stephane Bailliez [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 8:32 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Another JUnitReport problem
> 
> 
> 
> It does not work with xalan 2 (sorry the doc says it works 
> but it does not
> because optional.jar was not built with xalan1 compatibility 
> jar). <report>
> works only with xalan 1.2.2
> 
> Plus I'm not sure that the xsl works with Xalan 2.2D6. I 
> submitted a bug
> that I had with a xsl was similar to the junit one to 
> xalan-dev a few days
> ago (EmptyStackException) that Scott Boag kindly fixed in the 
> next hours.
> Should be fixed in CVS. 
> 
> -- 
>  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: Klara Ward [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 12, 2001 11:46 AM
> > To: ant-user
> > Subject: Another JUnitReport problem
> > 
> > 
> > I use (or at least try out for a possible later need) 
> > junitreport. I've
> > succeded in getting the
> > TESTS-TestSuites.xml, I didn't have to add anything to my 
> > classpath (it's
> > really non-existing on my machine, I use different classpaths 
> > for different
> > situations) I just had to put xalan.jar and xerces.jar in 
> > ANT_HOME/lib. But
> > I couldn't use the nested report tag. I read what was said on 
> > the list about
> > it but I couldn't find the solution to the problem. I tried adding
> > xalanj1compat.jar and I got from one error
> > 
> > (java.lang.NoClassDefFoundError: 
> > org/apache/xalan/xslt/XSLTInputSource) to
> > another
> > 
> > (java.lang.VerifyError: (class: org/apache/tools/ant/taskde
> > fs/optional/junit/AggregateTransformer, method: getXSLStreamSource
> > signature: (Ljava/lang/String;)Lo
> > rg/apache/xalan/xslt/XSLTInputSource;) Incompatible object 
> > argument for
> > function call).
> > 
> > I also tried removing jaxp.jar and parser.jar from the lib, 
> > but that didn't
> > help either.
> > 
> > My junitreport looks like this:
> >     <target name="junitreport" depends="init">
> >         <junitreport todir="${testresults}">
> >         <fileset dir="${testresults}">
> >                 <include name="TEST-*.xml"/>
> >             </fileset>
> >         <report format="frames" />
> >         </junitreport>
> >     </target>
> > the report tag is on line 167
> > and I get this error:
> > 
> > C:\anttestvecommon\builddebitech.xml:167: 
> > java.lang.VerifyError: (class:
> > org/apache/tools/ant/taskde
> > fs/optional/junit/AggregateTransformer, method: getXSLStreamSource
> > signature: (Ljava/lang/String;)Lo
> > rg/apache/xalan/xslt/XSLTInputSource;) Incompatible object 
> > argument for
> > function call
> > --- Nested Exception ---
> > java.lang.VerifyError: (class:
> > 
> org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer, me
> > thod: getXSLStreamSource signature:
> > (Ljava/lang/String;)Lorg/apache/xalan/xslt/XSLTInputSource;) Inc
> > ompatible object argument for function call
> >         at
> > org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregat
> > or.createRepor
> > t(XMLResultAg
> > gregator.java:114)
> >         at java.lang.reflect.Method.invoke(Native Method)
> >         at
> > org.apache.tools.ant.IntrospectionHelper$1.create(Introspectio
> > nHelper.java:1
> > 67)
> >         at
> > org.apache.tools.ant.IntrospectionHelper.createElement(Introsp
> > ectionHelper.j
> > ava:275)
> >         at
> > org.apache.tools.ant.ProjectHelper$NestedElementHandler.init(P
> > rojectHelper.j
> > ava:535)
> >         at
> > org.apache.tools.ant.ProjectHelper$TaskHandler.startElement(Pr
> > ojectHelper.ja
> > va:499)
> >         at
> > org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAda
> > pter.java:329)
> >         at
> > 
> org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
> >         at
> > org.apache.xerces.validators.common.XMLValidator.callStartElem
> > ent(XMLValidat
> > or.java:1191)
> > 
> >         at
> > org.apache.xerces.framework.XMLDocumentScanner.scanElement(XML
> > DocumentScanne
> > r.java:1862)
> >         at
> > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatch
> > er.dispatch(XM
> > LDocumentScan
> > ner.java:1238)
> >         at
> > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDo
> > cumentScanner.
> > java:381)
> >         at 
> > org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> >         at
> > 
> org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
> >         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> >         at 
> > org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
> >         at
> > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHel
> > per.java:85)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:403)
> >         at org.apache.tools.ant.Main.main(Main.java:149)
> > 
> > Does anyone know how to fix this, preferably without adding 
> > anything to the
> > classpath.
> > I use xalan-j_2_2_D6
> > 
> 

Reply via email to