ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy2008 <hoangt...@yahoo.com>
Subject how to detect a file while looping thru a list of directories
Date Thu, 04 Mar 2010 01:08:06 GMT

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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message