DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19020>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19020 XMLJUnitResultFormatter not compiled against junit 3.8: name() method no longer present TestCase Summary: XMLJUnitResultFormatter not compiled against junit 3.8: name() method no longer present TestCase Product: Ant Version: 1.5.3 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have just downloaded the latest version of ant (1.5.3) and it includes junit3.8.1. The optional.jar seems to contain class files for XMLJUnitResultFormatter which reference the name() method on TestCase. This was present (but deprecated) in junit3.7 and removed as of junit3.8. [junit] Exception in thread "main" java.lang.NoSuchMethodError: junit.framework.TestCase.name()Ljava/lang/String; [junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.startTest (XMLJUnitResultFormatter.java:186) [junit] at junit.framework.TestResult.startTest(TestResult.java:151) [junit] at junit.framework.TestResult.run(TestResult.java:103) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run (JUnitTestRunner.java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main (JUnitTestRunner.java:409) dan