A fileset selects files. include/exclude uses name patterns for selecting special files. For more precise selection you could specify nested selectors [1]. For a simple timestamp check, you could use <date>. If you use generated files (which content could be unchanged, but completetly new created) you could use <modified>.
Jan [1] http://ant.apache.org/manual/CoreTypes/selectors.html >-----Ursprüngliche Nachricht----- >Von: Yagna Boorada [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 10. März 2006 08:27 >An: Ant Users List >Betreff: RE: How can I check an xml file timestamp and execute >with a java in build file > >Hi Jan > Thanks for your reply! > > Basically I want to pass only modified xml files for parsing. > > How does this fileset helps me to recognise modified files. > >Yagna > >If your mind can conceive it and heart can believe it then >you can surely achieve it. > >Extn: 4452, 7818 > > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Friday, March 10, 2006 12:53 PM >To: user@ant.apache.org >Subject: AW: How can I check an xml file timestamp and execute >with a java in build file > >> I would like to check the timestamp of each one of of the >xml files > >>and process only those. > >Those which are what? > >Try nested selectors in <fileset>. > > >Jan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] For >additional commands, e-mail: [EMAIL PROTECTED] > > > > >MASTEK >"Making a valuable difference" >Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. >In the US, we're called MAJESCOMASTEK > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Opinions expressed in this e-mail are those of the individual >and not that of Mastek Limited, unless specifically indicated >to that effect. Mastek Limited does not accept any >responsibility or liability for it. This e-mail and >attachments (if any) transmitted with it are confidential >and/or privileged and solely for the use of the intended >person or entity to which it is addressed. Any review, >re-transmission, dissemination or other use of or taking of >any action in reliance upon this information by persons or >entities other than the intended recipient is prohibited. This >e-mail and its attachments have been scanned for the presence >of computer viruses. It is the responsibility of the recipient >to run the virus check on e-mails and attachments before >opening them. If you have received this e-mail in error, >kindly delete this e-mail from all computers. >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >--------------------------------------------------------------------- >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]