You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Clements <dc...@merc-int.com> on 2003/03/06 00:53:54 UTC

Performance of fileset

I am guessing that I have a performance issue due to a Fileset searching through an ever increasing build
tree.  I have tried to enumerate a list of directories that I do not want it to search in like this:

Basically they are my build directories:

<patternset id="excludeDirectories">
	<exclude name="**/*0/**/*>
	<exclude name="**/*1/**/*>
	<exclude name="**/*2/**/*>
	<exclude name="**/*3/**/*>
	<exclude name="**/*4/**/*>
		etc.....
<patternset>


Then the fileset:

<fileset dir="${rootDirectory}">
                <patternset refid="importedComponentPatternset"/>
                <patternset refid="excludeBuildDirectories"/>
</fileset>

This doesn't help.  I am assuming that the fileset is still enumerating all the directories under the build
directories.

Any ideas out there?



Dave