Browse Source

Added "" - the basedir itself - to the list of included directories,

if it matches.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268832 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
b806dbf97e
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/main/org/apache/tools/ant/DirectoryScanner.java

+ 9
- 0
src/main/org/apache/tools/ant/DirectoryScanner.java View File

@@ -676,6 +676,15 @@ strLoop:
dirsNotIncluded = new Vector();
dirsExcluded = new Vector();

if (isIncluded("")) {
if (!isExcluded("")) {
dirsIncluded.addElement("");
} else {
dirsExcluded.addElement("");
}
} else {
dirsNotIncluded.addElement("");
}
scandir(basedir, "", true);
}



Loading…
Cancel
Save