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/taskdefs/cvslib ChangeLogWriter.java
Date Wed, 03 Apr 2002 09:20:21 GMT
bodewig     02/04/03 01:20:21

  Modified:    src/main/org/apache/tools/ant/taskdefs/cvslib
                        ChangeLogWriter.java
  Log:
  Add XML declaration to output generated from <cvschangelog>
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java
  
  Index: ChangeLogWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ChangeLogWriter.java	2 Apr 2002 08:42:44 -0000	1.2
  +++ ChangeLogWriter.java	3 Apr 2002 09:20:21 -0000	1.3
  @@ -61,7 +61,7 @@
    * Class used to generate an XML changelog.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.2 $ $Date: 2002/04/02 08:42:44 $
  + * @version $Revision: 1.3 $ $Date: 2002/04/03 09:20:21 $
    */
   class ChangeLogWriter
   {
  @@ -76,6 +76,7 @@
       public void printChangeLog( final PrintWriter output,
                                   final CVSEntry[] entries )
       {
  +        output.println( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" );
           output.println( "<changelog>" );
           for( int i = 0; i < entries.length; i++ )
           {
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message