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





------- Additional Comments From [EMAIL PROTECTED]  2005-02-18 19:08 -------
I can think of using ant-types
  <formatter usefile="yes">
      <junit.xmlformatter verbose="yes"/>
  </formatter>

Change to Formatter.java:
    private JUnitResultFormatter  byReflection;
    public void add(JUnitResultFormatter byReflection) {
        this.byReflection = byReflection;
    }
    
    /**
     * @since Ant 1.6
     */
    JUnitResultFormatter createFormatter(ClassLoader loader)
        throws BuildException {
        JUnitResultFormatter r = byReflection;
        if (byReflection == null) {
         ....
         }
                }

        if (useFile && outFile != null) {
            try {
                out = new FileOutputStream(outFile);
            } catch (java.io.IOException e) {
                throw new BuildException(e);
            }
        }
        r.setOutput(out);
        return r;
}
* not tested completly *


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to