ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@rediffmail.com>
Subject Re: [PATCH] Whole directory moves optimized
Date Fri, 02 Nov 2001 22:50:45 GMT



On Fri, 02 Nov 2001 Stefan Bodewig wrote :
> In the current
> situation many directories will not be scanned at all 
> (the fast mode),
> but if we apply your patch, all directories will be 
> scanned.

I see what you mean.  I am submitting a patch alongwith
that does not result in slowscan being called.  The
reason why I had invoked getNotIncludedDirectories
and getNotIncludedFiles in the earlier patch was to just 
find out if at all there are any notincluded 
files/dirs.  But with this patch, I work around the
need for calling these two methods by introducing a new
method - isNotIncludedAvailable which by default is false
but gets set to true in scandir if it meets certain
conditions.  Let me know if this would still slow
down selective files based copy/move tasks.

Magesh

 

Mime
View raw message