ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Phonsa <>
Subject Directory list for FOR-EACH Task
Date Thu, 02 Oct 2003 17:20:42 GMT
I'm using the following target to display a list of directories in a root
directory.  It prints out the absolute path of each directory

<target name="test"/>
 <dirset id="fs" dir="${basedir}/../../" includes="*"/>  
   <pathconvert property="fs.value" refid="fs" pathsep="${line.separator}"/>

How can I supply the path of each directory to a foreach task of

Also can I extract just the names of the directories from the absolute paths
Generated by the above target.

Please guide.



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

View raw message