ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van den Bemt <mll...@mvdb.net>
Subject Re: [patch] Default excludes for Subversion
Date Tue, 02 Jul 2002 19:57:35 GMT
If you use bugzilla, it won't get lost ;)

Mvgr,
Martin

On Tue, 2002-07-02 at 21:56, Scott Lamb wrote:
> 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=&quot;no&quot;</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:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message