ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P.N." <>
Subject How to get the last folder name?
Date Fri, 03 Sep 2010 14:27:37 GMT


I want to get the path to the last child folder in some parent 
directory. Tried this:

         <path id="_lastname">
                     <fileset dir="C:\my\parent"/>
         <property name="_lastname2" location="${_lastname}"/>

Doesn't work :-(

I'd also like to get the last one of a collection of folders, e.g.

It seems, there're so many filters and tasks, I'd guess it should be 
possible somehow - any good solution?

Thank You in advance


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message