ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant DirectoryScanner.java
Date Thu, 15 Mar 2001 08:32:13 GMT
bodewig     01/03/15 00:32:12

  Modified:    src/main/org/apache/tools/ant DirectoryScanner.java
  Log:
  Added "" - the basedir itself - to the list of included directories,
  if it matches.
  
  Revision  Changes    Path
  1.11      +9 -0      jakarta-ant/src/main/org/apache/tools/ant/DirectoryScanner.java
  
  Index: DirectoryScanner.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/DirectoryScanner.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DirectoryScanner.java	2001/03/03 22:56:11	1.10
  +++ DirectoryScanner.java	2001/03/15 08:32:12	1.11
  @@ -676,6 +676,15 @@
           dirsNotIncluded  = new Vector();
           dirsExcluded     = new Vector();
   
  +        if (isIncluded("")) {
  +            if (!isExcluded("")) {
  +                dirsIncluded.addElement("");
  +            } else {
  +                dirsExcluded.addElement("");
  +            }
  +        } else {
  +            dirsNotIncluded.addElement("");
  +        }
           scandir(basedir, "", true);
       }
   
  
  
  

Mime
View raw message