Ant : find the last folder in a folder
Posted
by subtenante
on Stack Overflow
See other posts from Stack Overflow
or by subtenante
Published on 2010-03-15T14:18:31Z
Indexed on
2010/03/15
14:19 UTC
Read the original article
Hit count: 580
ant
I have a folder name stored in the property, say : nightly.basepath
.
I want to get the folder of the lastly generated build in the nightly.basepath
folder, and store the path to this last folder in the nightly.last
property.
Assume the alphabetical order reflects chronological order.
What is the easiest way to do that in Ant ?
© Stack Overflow or respective owner