Browse Source

Add pattern for CVS backup files to default excludes

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268901 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
3ccfe4645f
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      docs/manual/dirtasks.html
  2. +1
    -0
      src/main/org/apache/tools/ant/DirectoryScanner.java

+ 3
- 0
docs/manual/dirtasks.html View File

@@ -152,10 +152,13 @@ They are:</p>
<pre>
**/*~
**/#*#
**/.#*
**/%*%
**/CVS
**/CVS/**
**/.cvsignore
**/SCCS
**/SCCS/**
</pre>
<p>If you do not want these default excludes applied, you may disable them with the
<code>defaultexcludes=&quot;no&quot;</code> attribute.</p>


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

@@ -143,6 +143,7 @@ public class DirectoryScanner implements FileScanner {
protected final static String[] DEFAULTEXCLUDES = {
"**/*~",
"**/#*#",
"**/.#*",
"**/%*%",
"**/CVS",
"**/CVS/**",


Loading…
Cancel
Save