Browse Source

<xslt> failed to process file-hierarchies of more than one level if

scanincludeddirectories was true.

PR: 24866


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278032 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
d91b59b590
2 changed files with 5 additions and 1 deletions
  1. +3
    -0
      WHATSNEW
  2. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java

+ 3
- 0
WHATSNEW View File

@@ -423,6 +423,9 @@ Fixed bugs:
* 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
===================================



+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java View File

@@ -263,7 +263,8 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {
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);
}
}
}


Loading…
Cancel
Save