DirectoryScanner: getExcludedFiles performance issue using ant file set

Is there a way to speed up getExcludedFiles ()? I played with file set templates, but could not achieve improvement.

Here is my situation:

I have a set of files defined by these templates:

basedir/normal/abc/control/*.ins
basedir/normal/abc/models/bx/cells/*.l

under basedir/normal, there are about a hundred other subdirectories, but I'm only interested in abc. However, when I call DirectoryScanner.getExcludedFiles(), I think it is called slowScanner () and, apparently, it should have scanned all other subdirectories, which led to a 24-hour turnaround. Any help would be greatly appreciated.

Thanks in advance,

+3
source share
1 answer

dir , basedir/normal/abc, :

control/*.ins
models/bx/cells/*.l
+2

All Articles