Thanks for the background. So would it make sense for the saxon-xslt task simply to change the default to "false"? Or would it make more sense to remove the flag and fix the value as "false"?
Alternatively, would it make sense simply to note which files have been processed and ensure that the same file is never processed more than once? Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: 09 October 2008 16:05 > To: [email protected] > Cc: Michael Kay > Subject: Re: XSLT task - files processed twice > > Hi Michael, > > On Thu, 9 Oct 2008, Michael Kay <[EMAIL PROTECTED]> wrote: > > > Now, the "performDirectoryScan" flag corresponds to the external > > property scanIncludedDirectories, and its default value is true. > > > > Adding scanIncludedDirectories="false" to the task cures > the problem. > > But why would anyone want to set it to true, and why is true the > > default value? > > "true" is the default value, because this behavior has been > the only behavior available prior to Ant 1.5. I remember > that I was pretty surprised about it a while ago since > <style> behaved different form the other directoy based tasks > > http://svn.eu.apache.org/viewvc?view=rev&revision=271564 > > If we had chosen to use a different default value, we had > risked breaking builds that relied on the old behaviour - and > I vaguely recall that Struts' build did at that time since I > think we broke its Gump builds once or twice. > > Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
