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
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)
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
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
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