ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <Nagendra.R...@tejasoft.com>
Subject DirectoryScanner cache to boost performance
Date Sun, 13 Sep 2009 10:56:15 GMT

Hi,

We have a custom tasks which use DirectoryScanner to eliminate the need for
developers trying to reference things by its relative path.

However, DirectoryScanner is so main tries with different exclude and
include pattern, which is resulting in perf issues. 

In this context, is there a way to let the DirectoryScanner read the entire
file list only once in the entire ant session and every instance of
DirectoryScanner  and its  scans() would use such set to find the files
based on include and exclude patterns.

This approach would enable boost as finding the list of files available
search is avoided.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
-Web 2.0 Excellence
-- 
View this message in context: http://www.nabble.com/DirectoryScanner-cache-to-boost-performance-tp25422247p25422247.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