Can I use Ant to copy all files (not folders) from a folder hierarchy to a single destination folder?
For example, I have a tree like this:
res |-images | |-fg.png | +-bg.png +-sounds +-music.mp3
And I would like to get this result:
data |-fg.png |-bg.png +-music.mp3
As the names are called, file name conflicts are not a problem.
Can this be done with Ant?
source share