velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-velocity/src/java/org/apache/velocity/texen/ant TexenTask.java
Date Fri, 02 Mar 2001 20:35:27 GMT
jvanzyl     01/03/02 12:35:25

  Modified:    src/java/org/apache/velocity/texen Generator.java
               src/java/org/apache/velocity/texen/ant TexenTask.java
  Log:
  - added the ability for texen to append to files it has seen more
    then once. initially in a session a file will be overwritten, but
    any subsequent output for a named file will be appended. thanks
    to Jeff Brekke for discoverying this problem with torque.
  
  Revision  Changes    Path
  1.12      +151 -22   jakarta-velocity/src/java/org/apache/velocity/texen/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/texen/Generator.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  
  
  
  1.15      +2 -1      jakarta-velocity/src/java/org/apache/velocity/texen/ant/TexenTask.java
  
  Index: TexenTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/texen/ant/TexenTask.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TexenTask.java	2001/02/27 08:05:20	1.14
  +++ TexenTask.java	2001/03/02 20:35:17	1.15
  @@ -79,7 +79,7 @@
    * An ant task for generating output by using Velocity
    *
    * @author <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a>
  - * @version $Id: TexenTask.java,v 1.14 2001/02/27 08:05:20 jvanzyl Exp $
  + * @version $Id: TexenTask.java,v 1.15 2001/03/02 20:35:17 jvanzyl Exp $
    */
   
   public class TexenTask extends Task
  @@ -382,6 +382,7 @@
               writer.write(generator.parse(controlTemplate, c));
               writer.flush();
               writer.close();
  +            generator.shutdown();
           }
           catch (Exception e)
           {
  
  
  

Mime
View raw message