Great, that did it! Sorry I missed that in the notes...
Thanks!
Christian
------------------------------------------------
Christian Cryder [christianc@enhydra.org]
Barracuda - MVC Component Framework for Webapps
http://barracuda.enhydra.org
------------------------------------------------
"What a great time to be a Geek"
> -----Original Message-----
> From: Jason Rogers [mailto:jason.rogers@tumbleweed.com]
> Sent: Monday, October 01, 2001 1:20 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: Problem with junitreport in 1.4
>
>
> It looks like you don't have the BSF packages in your classpath.
>
> From the WHATSNEW file of Ant 1.4:
> <quote>
> * JUnitReport now uses the xalan redirect extension for multi-output.
> With Xalan 1.2.2 it forces the use of bsf.jar in the classpath.
> (Available in the xalan distribution). It is recommended to switch
> to Xalan 2.x that do not need it.
> </quote>
>
> > -----Original Message-----
> > From: Christian Cryder [mailto:christianc@enhydra.org]
> > Sent: Monday, October 01, 2001 3:09 PM
> > To: Ant-User
> > Subject: Problem with junitreport in 1.4
> >
> >
> > Hi folks,
> >
> > I'm having a problem using the junitreport taskdef in
> > 1.4. If I use the 1.3
> > optional jar it works; if I use the 1.4 optional jar it
> > fails like this (see
> > attached log for full stacktrace):
> > ----------------
> > test.report.html:
> > [junitreport] Using Xalan version: 1.2.2
> >
> > BUILD FAILED
> >
> > java.lang.NoClassDefFoundError: com/ibm/bsf/util/BSFEngineImpl
> > at java.lang.ClassLoader.defineClass0(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> > at
> > java.security.SecureClassLoader.defineClass(SecureClassLoa
> > der.java:111)
> > at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
> > at
> java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> > at
> java.security.AccessController.doPrivileged(Native Method)
> > at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> > at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> > at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
> > at java.lang.Class.forName0(Native Method)
> > at java.lang.Class.forName(Class.java:120)
> > at
> > org.apache.xalan.xpath.ExtensionFunctionHandler.<init>(Ext
> > ensionFunctionHand
> > ler.java:110)
> > ...
> > ----------------
> >
> > Here's what my target looks like in build.xml:
> >
> > <target name="test.report.html" if="do.report.tests"
> > description="Convert the junit xml files to html" >
> > <junitreport todir="${report.tests}">
> > <fileset dir="${report.tests}">
> > <include name="TEST-*.xml"/>
> > </fileset>
> > <report format="frames"
> todir="${report.tests}/html"/>
> > </junitreport>
> > </target>
> >
> > Just to reiterate--if I simply swap in the 1.3 optional
> > jar everything
> > works. Anyone have a suggestion on how to handle this?
> >
> > Thanks,
> > Christian
> > ------------------------------------------------
> > Christian Cryder [christianc@enhydra.org]
> > Barracuda - MVC Component Framework for Webapps
> > http://barracuda.enhydra.org
> > ------------------------------------------------
> > "What a great time to be a Geek"
> >
>
|