ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bool <manohar.kod...@yahoo.co.uk>
Subject Re: subant task scans .svn folders
Date Thu, 10 Jun 2010 05:13:07 GMT



Stefan Bodewig wrote:
> 
> On 2010-06-09, bool wrote:
> 
>> Michael Ludwig-6 wrote:
> 
>>> Maybe worth trying with 1.8.1.
> 
>> Just tried this, but found that .svn folders are being scanned and
>> opened.
> 
> In general, this shouldn't happen.  DirectoryScanner is supposed to see
> that .svn/ dirs can never hold any included files - I'd expect
> contentsExcluded to return false for the directories and thus avoid the
> scan.
> 
> This sounds like a bug.
> 
>> Also I did not find any option to exclude certain directories patterns
>> (**/.svn/**) when using subant task from ant documentation
>> http://ant.apache.org/manual/Tasks/subant.html
> 
> You don't do that at the task level but at the level of the nested
> fileset.  Since your example uses defaultexcludes="true" and the default
> excludes already contain **/.svn/** this shouldn't change anything.
> Unless you have used the <defaultexcludes> task to modify the list of
> patterns, that is.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


>> This sounds like a bug.

If this is a bug, will this be fixed in future releases ? Any idea when ?

This has performance implications as file system scanning can be very slow
depending on the filer and we would definitely not want Ant to scan .svn
folders.



>> Unless you have used the <defaultexcludes> task to modify the list of
>> patterns, that is.

No. I did not modify <defaultexcludes>







-- 
View this message in context: http://old.nabble.com/subant-task-scans-.svn-folders-tp28829117p28838840.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message