I want to loop thru a list of directories and only call a target called "ABC" if a directory contains a "test.xml" file. below is my initial code
<foreach target="ABC" param="ABCParam"> <path> <dirset dir="c:\temp"/> </path> </foreach> Do you have any ideas? Thanks -- View this message in context: http://old.nabble.com/how-to-detect-a-file-while-looping-thru-a-list-of-directories-tp27775656p27775656.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org