ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant XmlLogger.java
Date Wed, 22 Aug 2001 07:29:45 GMT
bodewig     01/08/22 00:29:45

  Modified:    src/main/org/apache/tools/ant Tag: ANT_14_BRANCH
                        XmlLogger.java
  Log:
  Log messages in CDATA sections - used to be that way in 1.3 until a
  change to DOMElementWriter occured.  Makes the messages easier to read
  than the escaped version.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.1   +1 -1      jakarta-ant/src/main/org/apache/tools/ant/XmlLogger.java
  
  Index: XmlLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/XmlLogger.java,v
  retrieving revision 1.8
  retrieving revision 1.8.2.1
  diff -u -r1.8 -r1.8.2.1
  --- XmlLogger.java	2001/08/08 15:28:48	1.8
  +++ XmlLogger.java	2001/08/22 07:29:45	1.8.2.1
  @@ -248,7 +248,7 @@
           }
           messageElement.setAttribute(PRIORITY_ATTR, name);
   
  -        Text messageText = doc.createTextNode(event.getMessage());
  +        Text messageText = doc.createCDATASection(event.getMessage());
           messageElement.appendChild(messageText);
   
           TimedElement parentElement = null;
  
  
  

Mime
View raw message