Re: sort or min/max file

2005-07-21 Thread Matt Benson
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

RE: sort or min/max file

2005-07-20 Thread Juergen Hermann
On Wed, 20 Jul 2005 17:29:07 +0200, Schulpen, D.P.H. wrote: >I've been fooling around with this, but it doesn't seem to be able to solve my problem. SortList only seems able to do an ascending lexical sort, which means that the most recent build (the one with the 'highest' build number string)

RE: sort or min/max file

2005-07-20 Thread Schulpen, D.P.H.
I've been fooling around with this, but it doesn't seem to be able to solve my problem. SortList only seems able to do an ascending lexical sort, which means that the most recent build (the one with the 'highest' build number string) appears at the end of the sorted list. Therefore, I don't know

Re: sort or min/max file

2005-07-20 Thread Ninju Bohra
You may want to look at the task (part of the ant-contrib project). If you are happy with sorting the files based upon the name you can try the following (it is what we do): Have fun... --- "S

sort or min/max file

2005-07-20 Thread Schulpen, D.P.H.
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