On 20 Jan 2005, <[EMAIL PROTECTED]> wrote: > Allow <sync> to keep files in target even if they are not in any > source directories, PR 21832
Two things: (1) Dominique, could you please try a build of CVS HEAD (doesn't necessarily have to be any more recent than a month or so) on one of your larger sync targets to see whether <sync> has slowed down? I have patched DirectoryScanner to optimize non-pattern matches in December, so the performance problems you expected should have been addressed. (2) Names again. <sync todir="${dest}"> <fileset dir="${src}"/> <deletefromtarget> <exclude name="e/f"/> </deletefromtarget> </sync> <deletefromtarget> is a <fileset> that doesn't allow dir to be set. It implicitly contains <exclude>s for all the files that have been matched by one of the source-<fileset> (everything that should be there). It can be used to keep things like logfiles or config files or similar in you target directory. Default is to delete everything not present in any of the source sets. Now, is <deletefromtarget> a good name? Is there a better one to capture what it does? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]