Ant : find the last folder in a folder
- by subtenante
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 ?