Hello All,
I am trying top get junitreport to work in Ant 1.5.1, but I am getting ClassNotFound exceptions for the org.apache.xalan.xslt.extensions.Redirect class. I have Xalan-J 2.4.1 downloaded and the xalan.jar, xml-apis.jar, xercesImpl.jar, and xmlParserAPIs.jar are all in my classpath when I run the task, but it still fails. Furthermore, I have looked through all the jar files that come with the xalan 2.4.1 distro (BCEL, bsf, etc..) and can not find a reference to this class. The error I am getting is this: [junitreport] jar:file:/C:/jakarta/ant/ant-1.5.1/jakarta-ant-1.5.1/lib/optional. jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl; Line 134 ; Column 74; javax.xml.transform.TransformerException: java.lang.ClassNotFoundEx ception: org.apache.xalan.xslt.extensions.Redirect My task looks like this: <!-- Run the junit reporter --> <target name="report" depends="init, build, junit"> <mkdir dir="${deploy.dir}/${context.name}/test-results" /> <junitreport todir="${test.results}"> <fileset dir="${test.results}"> <include name="TEST-*.xml"/> </fileset> <report todir="${deploy.dir}/${context.name}/test-result s" format="frames" /> </junitreport> </target> The Ant and Xalan distros are all the precompiled ones -- I did not build them on my machine. Would this make a difference? Does the optional.jar that ships with 1.5.1 assume a different set of xml libraries? Anyone know how to get rid of this error? Any help would be appreciated. TIA, Nathan Cuka [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>