You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/15 14:38:34 UTC

DO NOT REPLY [Bug 19953] New: - junit timeouts and formatter not found

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=19953>.
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=19953

junit timeouts and formatter not found

           Summary: junit timeouts and formatter not found
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mariano@fuegolabs.com


situation: run junit, and define a custom formatter that is located in the junit
classpath, and fork="true" and timeout="x".

problem: if the test runs fine, then it's ok because the formatter is loaded
inside the junit classpath, but if the test timeouts, then the formatter is
loaded by the ant system classpath, and it is not found.

solution: the class.forname of the formatter should be done with the junit classpath