In Ant 1.7 you will be able to sort resource collections (e.g. fileset) by various criteria including timestamp. At present nothing comes to mind other than a custom task, scripting, or delegating to an OS command such as dir or ls.
-Matt --- "Schulpen, D.P.H." <[EMAIL PROTECTED]> wrote: > I'm trying to write a script to automate certain > parts of unzipping the most recent build archive of > an application (in this case NetBeans) in a certain > location. > > However, I can't figure out a way to determine the > most recent file. I thought about uptodate. > Unfortunately, I have no idea how to run the task > for every file in a list against all other files in > the list, and determine which one returns true. I > could also use lexical sorting or min/max-ing on the > filename, but can't seem to find a task that > supports this. > > Some mailing list archive browsing seemed to hint > that what I'm trying to achive is not yet possible > with 1.6.5. Is this correct? If not, any pointers? > > > - Daan > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]