Just an idea: a combination of <fileset> <restrict> <date> and <sort>
Jan >-----Ursprüngliche Nachricht----- >Von: Derek Haskin [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 28. Mai 2007 06:10 >An: user@ant.apache.org >Betreff: how to set a property to the latest file > >Hi, > >How do you set a property to using a wild card to a particular >file in a >directory. > >Example: >I want to set a property to the first occurence of the >following command:- > ls -r /tmp/test/des.*.zip > >The directory /tmp/test will contain mutliple files that match >des.*.zip >Using ant how to I set a property to the first file that matches. > >Thanks. > > >--------------------------------------------------------------------- >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]