Hi,
I've started using Subversion <http://subversion.tigris.org>. It keeps its
revision history in a .svn directory and a cache of all the source files.
Lots of tasks (javac, junit) choke on these cache files, thinking they
are source.
I solved this by adding an exclude. I'd like to see this added to the
default excludes. The attached patch adds "**/.svn/**" and "**/.svn",
analagous to (but even more important than) the existing "**/CVS/**" and
"**/CVS". Please apply.
Thanks.
--
Scott Lamb
P.S. - This is try #2 to send this message. Does the mailing list
silently reject submissions from non-subscribers? I just subscribed.
Index: docs/manual/dirtasks.html
===================================================================
RCS file: /home/cvspublic/jakarta-ant/docs/manual/dirtasks.html,v
retrieving revision 1.14
diff -u -r1.14 dirtasks.html
--- docs/manual/dirtasks.html 1 Jun 2002 12:26:32 -0000 1.14
+++ docs/manual/dirtasks.html 1 Jul 2002 20:08:24 -0000
@@ -161,6 +161,8 @@
**/SCCS
**/SCCS/**
**/vssver.scc
+ **/.svn
+ **/.svn/**
</pre>
<p>If you do not want these default excludes applied, you may disable them
with the
<code>defaultexcludes="no"</code> attribute.</p>
Index:
proposal/sandbox/selectors/src/main/org/apache/tools/ant/DirectoryScanner.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/proposal/sandbox/selectors/src/main/org/apache/tools/ant/DirectoryScanner.java,v
retrieving revision 1.1
diff -u -r1.1 DirectoryScanner.java
---
proposal/sandbox/selectors/src/main/org/apache/tools/ant/DirectoryScanner.java
27 Jan 2002 02:10:43 -0000 1.1
+++
proposal/sandbox/selectors/src/main/org/apache/tools/ant/DirectoryScanner.java
1 Jul 2002 20:08:25 -0000
@@ -164,7 +164,9 @@
"**/.cvsignore",
"**/SCCS",
"**/SCCS/**",
- "**/vssver.scc"
+ "**/vssver.scc",
+ "**/.svn",
+ "**/.svn/**"
};
/**
Index: src/main/org/apache/tools/ant/DirectoryScanner.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/DirectoryScanner.java,v
retrieving revision 1.26
diff -u -r1.26 DirectoryScanner.java
--- src/main/org/apache/tools/ant/DirectoryScanner.java 1 Jun 2002 12:26:37
-0000 1.26
+++ src/main/org/apache/tools/ant/DirectoryScanner.java 1 Jul 2002 20:08:25
-0000
@@ -169,7 +169,9 @@
"**/.cvsignore",
"**/SCCS",
"**/SCCS/**",
- "**/vssver.scc"
+ "**/vssver.scc",
+ "**/.svn",
+ "**/.svn/**"
};
/** The base directory to be scanned. */
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>