ANT: Copy a directory recursivelySaturday, January 2nd, 2010 with 2 Comments »

To mimic the xcopy command in windows, use the following:

<copy todir="destinationDir"><fileset="sourceDir"></fileset></copy>

You only need to use the <include> tag if you want to specify which files you want included

Get updates as often as we post! Subscribe to our full feed or comments feed.