You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by um...@apache.org on 2002/02/03 02:53:34 UTC

cvs commit: jakarta-ant/src/main/org/apache/tools/ant DirectoryScanner.java

umagesh     02/02/02 17:53:34

  Modified:    .        WHATSNEW
               docs/manual dirtasks.html
               src/main/org/apache/tools/ant DirectoryScanner.java
  Log:
  The pattern definition **/._* has been added to the default excludes list.
  
  PR: 5886
  
  Requested by: gerti-apache@bitart.com (Gerd Knops)
  
  Revision  Changes    Path
  1.203     +4 -0      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.202
  retrieving revision 1.203
  diff -u -r1.202 -r1.203
  --- WHATSNEW	1 Feb 2002 22:29:21 -0000	1.202
  +++ WHATSNEW	3 Feb 2002 01:53:34 -0000	1.203
  @@ -28,6 +28,10 @@
     a check is made to see if there is another overloaded method that takes in
     some other type of argument.  If there is one such method, then the method 
     that takes in String as an argument is not selected by the Introspector.
  +  
  +* The pattern definition **/._* has been included into the Default 
  +  Excludes list.
  +
   
   Fixed bugs:
   -----------
  
  
  
  1.12      +8 -7      jakarta-ant/docs/manual/dirtasks.html
  
  Index: dirtasks.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/dirtasks.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- dirtasks.html	10 Jan 2002 08:48:28 -0000	1.11
  +++ dirtasks.html	3 Feb 2002 01:53:34 -0000	1.12
  @@ -26,7 +26,7 @@
   the include patterns, and don't match the exclude patterns, are used.</p>
   <p>Patterns can be specified inside the buildfile via task attributes or
   nested elements and via external files. Each line of the external file
  -is taken as a pattern that is added to the list of include or exclude 
  +is taken as a pattern that is added to the list of include or exclude
   patterns.</p>
   <h3><a name="patterns">Patterns</a></h3>
   <p>As described earlier, patterns are used for the inclusion and exclusion.
  @@ -125,11 +125,11 @@
   way to select just the files you want.</p>
   
   <h3>Examples</h3>
  -<pre>  
  +<pre>
   &lt;copy todir=&quot;${dist}&quot;&gt;
  -  &lt;fileset dir=&quot;${src}&quot; 
  -           includes=&quot;**/images/*&quot; 
  -           excludes=&quot;**/*.gif&quot; 
  +  &lt;fileset dir=&quot;${src}&quot;
  +           includes=&quot;**/images/*&quot;
  +           excludes=&quot;**/*.gif&quot;
     /&gt;
   &lt;/copy&gt;</pre>
   <p>This copies all files in directories called <code>images</code> that are
  @@ -154,6 +154,7 @@
        **/#*#
        **/.#*
        **/%*%
  +     **/._*
        **/CVS
        **/CVS/**
        **/.cvsignore
  @@ -161,10 +162,10 @@
        **/SCCS/**
        **/vssver.scc
   </pre>
  -<p>If you do not want these default excludes applied, you may disable them with the 
  +<p>If you do not want these default excludes applied, you may disable them with the
   <code>defaultexcludes=&quot;no&quot;</code> attribute.</p>
   <hr>
  -<p align="center">Copyright &copy; 2001 Apache Software Foundation. All rights
  +<p align="center">Copyright &copy; 2001-2002 Apache Software Foundation. All rights
   Reserved.</p>
   
   </body>
  
  
  
  1.21      +2 -1      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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- DirectoryScanner.java	10 Jan 2002 11:21:19 -0000	1.20
  +++ DirectoryScanner.java	3 Feb 2002 01:53:34 -0000	1.21
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2000-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -151,6 +151,7 @@
           "**/#*#",
           "**/.#*",
           "**/%*%",
  +        "**/._*",
           "**/CVS",
           "**/CVS/**",
           "**/.cvsignore",
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>