You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by worodin <wo...@freenet.de> on 2006/08/12 09:11:20 UTC

Default excludes and Subversion on Windows

Hi there,

The subversion documentation suggests, that there are problems with the
 '.' in '.svn' for certain windows installations and proposes a workaround:
Setting the environment variable: SVN_ASP_DOT_NET_HACK=1 would result in
having it as '_svn' instead.

Would it be possible to therefore introduce '_svn' into the default
excludes too?

Thomas

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


Re: Default excludes and Subversion on Windows

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 15 Aug 2006, Kev Jackson <fo...@gmail.com> wrote:

> The problem with this is that I know that I name some project
> directories _<project>, so that they are always listed first in
> Windows Explorer.  So for example if I was working on the svn source
> code, I might well have a directory called _svn

<defaultexcludes> can also remove patterns from the list.

Stefan

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


Re: Default excludes and Subversion on Windows

Posted by Kev Jackson <fo...@gmail.com>.
On 15 Aug 2006, at 11:53, Conor MacNeill wrote:

> According to
> http://subversion.tigris.org/svn_1.3_releasenotes.html
>
> "The "_svn" hack is now officially supported: since some versions of
> ASP.NET don't allow directories beginning with dot ..."
>
> So I think we should add it to the default set in 1.7
>
> Conor

The problem with this is that I know that I name some project  
directories _<project>, so that they are always listed first in  
Windows Explorer.  So for example if I was working on the svn source  
code, I might well have a directory called _svn - I know at least one  
other person who does this so that it's easier to find the current  
working project.  Since I don't work on svn, I won't have this  
problem, but someone else may and may call a directory _svn.  Having  
said all that - the people who work on svn have blessed the _svn  
hack, so presumambly this is now standard </end rambling nonsense>

+0 for a change to defaultexcludes, I can see a potential problem,  
but it seems that the svn guys want to use this hack, so I'm  
ambivalent towards adding it.

Kev

--
"That government is best which governs not at all" - Henry Thoreau


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


Re: Default excludes and Subversion on Windows

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 15 Aug 2006, Conor MacNeill <co...@apache.org> wrote:
> According to
> http://subversion.tigris.org/svn_1.3_releasenotes.html
> 
> "The "_svn" hack is now officially supported: since some versions of
> ASP.NET don't allow directories beginning with dot ..."
> 
> So I think we should add it to the default set in 1.7

+1

Stefan

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


Re: Default excludes and Subversion on Windows

Posted by Conor MacNeill <co...@apache.org>.
According to
http://subversion.tigris.org/svn_1.3_releasenotes.html

"The "_svn" hack is now officially supported: since some versions of
ASP.NET don't allow directories beginning with dot ..."

So I think we should add it to the default set in 1.7

Conor


Stefan Bodewig wrote:
> On Mon, 14 Aug 2006, Jesse Glick <je...@sun.com> wrote:
>> Stefan Bodewig wrote:
>>>> Would it be possible to therefore introduce '_svn' into the
>>>> default excludes too?
>>> You can use the <defaultexcludes> task to do that.
>> Given Subversion's (and Windows') popularity, wouldn't it make sense
>> for this to be in the default excludes?
> 
> Not sure.  On my work XP machine subversion doesn't create _svn
> folders, you probably need to ask for it explicitly.
> 
> Stefan
> 

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


Re: Default excludes and Subversion on Windows

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 14 Aug 2006, Jesse Glick <je...@sun.com> wrote:
> Stefan Bodewig wrote:
>>> Would it be possible to therefore introduce '_svn' into the
>>> default excludes too?
>> You can use the <defaultexcludes> task to do that.
> 
> Given Subversion's (and Windows') popularity, wouldn't it make sense
> for this to be in the default excludes?

Not sure.  On my work XP machine subversion doesn't create _svn
folders, you probably need to ask for it explicitly.

Stefan

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


Re: Default excludes and Subversion on Windows

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hi,


Jesse Glick wrote:
> Stefan Bodewig wrote:
>>> Would it be possible to therefore introduce '_svn' into the default
>>> excludes too?
>>
>> You can use the <defaultexcludes> task to do that.
>
> Given Subversion's (and Windows') popularity, wouldn't it make sense
> for this to be in the default excludes? I think the chances of someone
> making a file named "_svn" with some other meaning are pretty slim.
>
> -J.
>
+1

Antoine

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


Re: Default excludes and Subversion on Windows

Posted by Jesse Glick <je...@sun.com>.
Stefan Bodewig wrote:
>> Would it be possible to therefore introduce '_svn' into the default
>> excludes too?
> 
> You can use the <defaultexcludes> task to do that.

Given Subversion's (and Windows') popularity, wouldn't it make sense for 
this to be in the default excludes? I think the chances of someone 
making a file named "_svn" with some other meaning are pretty slim.

-J.

-- 
jesse.glick@sun.com  x22801  netbeans.org  ant.apache.org
       http://google.com/search?q=e%5E%28pi*i%29%2B1


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


Re: Default excludes and Subversion on Windows

Posted by Stefan Bodewig <bo...@apache.org>.
On Sat, 12 Aug 2006, <wo...@freenet.de> wrote:

> Would it be possible to therefore introduce '_svn' into the default
> excludes too?

You can use the <defaultexcludes> task to do that.

Stefan

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


Re: Default excludes and Subversion on Windows

Posted by Alexey Solofnenko <tr...@gmail.com>.
This is a user list question. Please look at
http://ant.apache.org/manual/CoreTasks/defaultexcludes.html for a solution.

- Alexey.

On 8/12/06, worodin <wo...@freenet.de> wrote:
>
> Hi there,
>
> The subversion documentation suggests, that there are problems with the
> '.' in '.svn' for certain windows installations and proposes a workaround:
> Setting the environment variable: SVN_ASP_DOT_NET_HACK=1 would result in
> having it as '_svn' instead.
>
> Would it be possible to therefore introduce '_svn' into the default
> excludes too?
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
Alexey N. Solofnenko trelony at gmail.com
home: http://trelony.cjb.net/
Pleasant Hill, CA (GMT-8 hours usually)