Hello,
I'm try to output a list of all folder and files under a folder.
Right now I have a program print out current directories, how I can
make a loop and print out folders and files under each folder?
I also want to distinguish the path difference for folder and files.
Any help would be greatly appreciated.
Thank you
<target name="test">
<exec dir="${src.dir}" executable="ls" output="dir.txt">
<arg line="-la" ></arg>
</exec>
</target>
--
View this message in context:
http://www.nabble.com/How-to-output-a-list-of-all-folder-and-files-in-ant--tp20734677p20734677.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]