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

Junit Task - Xml reporter don't work well





------- Additional Comments From [EMAIL PROTECTED]  2003-07-31 20:08 -------
the line 151 of DOMElementWriter.java is the one doing out.write(lSep); 
            case Node.ELEMENT_NODE:
                if (!hasChildren) {
                    out.write(lSep);
                    hasChildren = true;
                }
                write((Element) child, out, indent + 1, indentWith);
                break;
Can it be that there is no system property line.separator in your Java Virtual 
Machine ?

lSep is initialized like this :
    private static String lSep = System.getProperty("line.separator");

try to run this build snippet
<project default="default">
  <target name="default">
   <echoproperties/>
  </target>
</project>  
look in the output if line.separator is defined.
If it is not defined, then you need to start ant with
ant -D"line.separator=
"

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

Reply via email to