DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30609>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30609

NoClassDefFoundError when JUnit task timeout occurs

           Summary: NoClassDefFoundError when JUnit task timeout occurs
           Product: Ant
           Version: 1.6.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am getting the following Exception when the junit "timeout=300000"
task times out:

BUILD FAILED
java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange

Total time: 5 minutes 40 seconds

The junit task's timeout feature seems to use a DOM Level 2 API that is not
bundled with the JRE 1.4.2. I found that downloading dom2.jar from
http://www.w3.org/DOM/DOMTM and placing it in ant/lib solved this
problem and resulted in the appropriate failure report:

BUILD FAILED
build.xml:500: Test <foo> failed (timeout)

Intel P4, single cpu, Red Hat Linux 9

java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

Apache Ant version 1.6.0 compiled on December 18 2003 (sorry I did not have to
reproduce on latest)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to