How to iterate over Directories in Ant

Posted by Laxmi on Stack Overflow See other posts from Stack Overflow or by Laxmi
Published on 2010-06-12T16:10:47Z Indexed on 2010/06/12 16:12 UTC
Read the original article Hit count: 193

Filed under:

I've a root directory and it contains many directories,in turn each sub-directory contains many directories and so on.For example if "A" is a root directory it contains sub-directories "A.a","A.b",so on... and each directory("A.a","A.b",etc) contains many directories.I want to copy the inner directories of "A.a" , "A.b" ,etc.. to other directory structure similar to the "A".Instead of copying the each directory I want to use loop that iterates every directory and it's sub-directories(even files).How to do that...Please help me out as I'm new to Ant...

© Stack Overflow or respective owner

Related posts about ant