ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [DO NOT REPLY: Bug 3352] New: Looks like "JunitReport" uses an unknown class: com/ibm/bsf/util/BSFEngineImpl
Date Wed, 29 Aug 2001 22:46:05 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3352

*** shadow/3352	Wed Aug 29 15:46:05 2001
--- shadow/3352.tmp.6774	Wed Aug 29 15:46:05 2001
***************
*** 0 ****
--- 1,110 ----
+ +============================================================================+
+ | Looks like "JunitReport" uses an unknown class: com/ibm/bsf/util/BSFEngine |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3352                        Product: Ant                     |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Optional Tasks          |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: vidar.vevik@bigfoot.com                                      |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I have tryed to run 'Ant version 1.5alpha compiled on August 29 2001' 
+ 
+ My target was defined like this:
+ 
+ ---------Ant script ---------
+   <target name="runtests">
+     <junit fork="yes" printsummary="yes" haltonfailure="yes">
+       <classpath>
+         <pathelement path="${src.build.dir}"/>
+         <pathelement path="${build.classpath}"/>
+       </classpath>
+ 
+       <formatter type="xml" />
+ 
+       <batchtest todir="${junit.report.path}">
+         <fileset dir="${src.dir}"> 
+           <include name="${src.package.dir}/**/tests/*.java" /> 
+           <exclude name="**/AllTests.java" /> 
+         </fileset> 
+       </batchtest> 
+     </junit> 
+ 
+     <junitreport todir="${junit.report.path}">
+       <fileset dir="${junit.report.path}">
+         <include name="TEST-*.xml"/>
+       </fileset>
+       <report format="frames" todir="${junit.report.path}"/>
+     </junitreport>
+   </target>
+ ---------Ant script ---------
+ 
+ 
+ The error I got was: 
+ 
+ --------- Result ---------
+ 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(SecureClassLoader.java:11
+ 1)
+         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>(ExtensionFunct
+ ionHandler.java:110)
+         at org.apache.xalan.xslt.ExtensionNSHandler.<init>(ExtensionNSHandler.ja
+ va:104)
+         at org.apache.xalan.xslt.StylesheetHandler.startElement(StylesheetHandle
+ r.java:606)
+         at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
+ 
+         at org.apache.xerces.validators.common.XMLValidator.callStartElement(XML
+ Validator.java:828)
+         at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
+ tScanner.java:1852)
+         at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
+ atch(XMLDocumentScanner.java:1000)
+         at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
+ canner.java:380)
+         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
+         at org.apache.xalan.xpath.xdom.XercesLiaison.parse(XercesLiaison.java:29
+ 3)
+         at org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl
+ .java:806)
+         at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:647)
+ 
+         at org.apache.tools.ant.taskdefs.optional.junit.Xalan1Executor.execute(A
+ ggregateTransformer.java:340)
+         at org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.tra
+ nsform(AggregateTransformer.java:190)
+         at org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.exec
+ ute(XMLResultAggregator.java:170)
+         at org.apache.tools.ant.Task.perform(Task.java:217)
+         at org.apache.tools.ant.Target.execute(Target.java:164)
+         at org.apache.tools.ant.Target.performTasks(Target.java:182)
+         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
+         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
+         at org.apache.tools.ant.Task.perform(Task.java:217)
+         at org.apache.tools.ant.Target.execute(Target.java:164)
+         at org.apache.tools.ant.Target.performTasks(Target.java:182)
+         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
+         at org.apache.tools.ant.Project.executeTargets(Project.java:560)
+         at org.apache.tools.ant.Main.runBuild(Main.java:454)
+         at org.apache.tools.ant.Main.start(Main.java:153)
+         at org.apache.tools.ant.Main.main(Main.java:176)
+ --------- Result ---------

Mime
View raw message