bodewig     2005/02/14 05:30:34

  Modified:    .        WHATSNEW
               src/main/org/apache/tools/ant/taskdefs/cvslib
                        ChangeLogWriter.java
  Log:
  Really output time, when you say so
  
  Revision  Changes    Path
  1.746     +2 -0      ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.745
  retrieving revision 1.746
  diff -u -r1.745 -r1.746
  --- WHATSNEW  10 Feb 2005 22:43:27 -0000      1.745
  +++ WHATSNEW  14 Feb 2005 13:30:33 -0000      1.746
  @@ -318,6 +318,8 @@
     <exec>, <apply>, or <java> tasks was always logged to System.out
     instead of to the managing Task.
   
  +* <cvschangelog> printed date where it said time.
  +
   Changes from Ant 1.6.1 to Ant 1.6.2
   ===================================
   
  
  
  
  1.17      +3 -3      
ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java
  
  Index: ChangeLogWriter.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ChangeLogWriter.java      6 Dec 2004 17:45:57 -0000       1.16
  +++ ChangeLogWriter.java      14 Feb 2005 13:30:34 -0000      1.17
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2002-2004 The Apache Software Foundation
  + * Copyright  2002-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -71,7 +71,7 @@
           output.println("\t<entry>");
           output.println("\t\t<date>" + OUTPUT_DATE.format(entry.getDate())
               + "</date>");
  -        output.println("\t\t<time>" + OUTPUT_DATE.format(entry.getDate())
  +        output.println("\t\t<time>" + OUTPUT_TIME.format(entry.getDate())
               + "</time>");
           output.println("\t\t<author><![CDATA[" + entry.getAuthor()
               + "]]></author>");
  
  
  

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

Reply via email to