ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20103] - FileSet horrible performance when dir has huge number of subdirs
Date Wed, 04 Jun 2003 22:34:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20103>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20103

FileSet horrible performance when dir has huge number of subdirs





------- Additional Comments From e17x-o9j5@spamex.com  2003-06-04 22:34 -------
> Concerning ftp get, the scanning is actually done by an inner class of FTP 
> called FTP.FTPDirectoryScanner. This one would have to be fixed too.

Are there other Ant CORE or optional Tasks which implement their own 
DirectoryScanner?


This bug could equally apply to the <dirset>

<dirset dir="${build.dir}">
  <patternset id="non.test.classes">
    <include name="apps/**/classes"/>
    <exclude name="apps/**/*Test*"/>
  </patternset>
</dirset>

I haven't tested to be sure, but I would suspect <dirset> will scan all
subdirectories of ${build.dir} and not just subdirectories of ${build.dir}/apps

It looks like an efficient directory scanner would give a large performance 
boost on many Ant core tasks, esp. when people are working on large projects.

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


Mime
View raw message