Hi, I tried it, but <xslt basedir="source" destdir="added" style="stylesheets/add_versioning_information.xslt" classpath="net.sf.saxon.Transform" processor="trax" extension=".xml" includes="*.xml" excludes="*/*.xml"/> doesn't seem to do the timestamp check. Since if I process my ant file two times, all files are transformed again, although neither the stylesheets nor the files have changed... My stylesheets are not using <xsl:import> or <xsl:include>. Since I am doing transformations on directory basis, I would like to know, if that might correspond to the "incomplete" out-of-date check.... Thanks a lot.
wbr, Roman > -----Urspr�ngliche Nachricht----- > Von: Dominique Devienne [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 12. April 2005 15:54 > An: Ant Users List > Betreff: RE: Converting new or changed files with an batch > file called from within ant > > > From: Huditsch Roman [mailto:[EMAIL PROTECTED] > > The proplem is taht everytime I start the transformation, > all files of > my > > input folder are converted. > > I would like ant to just produce new or changed files > (since the last > > transformation call). > > the source folder is specified within my batch file, so I > am nor sure > if I > > need to rewrite my ant and abtch files.... > > Any help is greatly appreciated. > > As indicated, <xslt> does timestamp checking, but be aware of > its limitations though. If you <xsl:include> or <xsl:import> > other stylesheets, changes to these are not seen by the task; > or it you output to more than one document, again the > out-of-date check is not 'complete'. > > In such cases, you probably want to have finer grained > control of what is deemed out-of-date using Ant-Contrib's > <outofdate> task (Or Ant's <uptodate>, or <dependset>). --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
