geirm       01/07/10 12:19:29

  Modified:    src/java/org/apache/velocity/convert WebMacro.java
  Log:
  Patch by Michael Salmon ([EMAIL PROTECTED]) to allow an arbitrary set of
  files to be converted.
  
  Revision  Changes    Path
  1.19      +6 -3      
jakarta-velocity/src/java/org/apache/velocity/convert/WebMacro.java
  
  Index: WebMacro.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/convert/WebMacro.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- WebMacro.java     2001/06/21 23:38:55     1.18
  +++ WebMacro.java     2001/07/10 19:19:27     1.19
  @@ -71,7 +71,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jason van Zyl</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Daniel Rall</a>
  - * @version $Id: WebMacro.java,v 1.18 2001/06/21 23:38:55 dlr Exp $ 
  + * @version $Id: WebMacro.java,v 1.19 2001/07/10 19:19:27 geirm Exp $ 
    */
   public class WebMacro
   {
  @@ -320,8 +320,11 @@
       {
           if (args.length > 0)
           {
  -            WebMacro converter = new WebMacro();
  -            converter.convert(args[0]);
  +            for (int x=0; x < args.length; x++)
  +            {
  +                WebMacro converter = new WebMacro();
  +                converter.convert(args[x]);
  +            }
           }
           else
           {
  
  
  

Reply via email to