ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs XSLTProcess.java
Date Mon, 21 Mar 2005 14:54:10 GMT
bodewig     2005/03/21 06:54:10

  Modified:    .        WHATSNEW
               src/main/org/apache/tools/ant/taskdefs XSLTProcess.java
  Log:
  <xslt> failed to process file-hierarchies of more than one level if
  scanincludeddirectories was true.
  
  PR: 24866
  
  Revision  Changes    Path
  1.787     +3 -0      ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.786
  retrieving revision 1.787
  diff -u -r1.786 -r1.787
  --- WHATSNEW	21 Mar 2005 10:05:42 -0000	1.786
  +++ WHATSNEW	21 Mar 2005 14:54:10 -0000	1.787
  @@ -423,6 +423,9 @@
   * TarInputStream#read() wasn't implemented correctly.  Bugzilla Report
     34097.
   
  +* <xslt> failed to process file-hierarchies of more than one level if
  +  scanincludeddirectories was true.  Bugzilla Report 24866.
  +
   Changes from Ant 1.6.1 to Ant 1.6.2
   ===================================
   
  
  
  
  1.93      +2 -1      ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
  
  Index: XSLTProcess.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- XSLTProcess.java	14 Mar 2005 13:58:18 -0000	1.92
  +++ XSLTProcess.java	21 Mar 2005 14:54:10 -0000	1.93
  @@ -263,7 +263,8 @@
                   for (int j = 0; j < dirs.length; ++j) {
                       list = new File(baseDir, dirs[j]).list();
                       for (int i = 0; i < list.length; ++i) {
  -                        process(baseDir, list[i], destDir, stylesheet);
  +                        process(baseDir, dirs[j] + File.separator + list[i],
  +                                destDir, stylesheet);
                       }
                   }
               }
  
  
  

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


Mime
View raw message