Hello, I'm trying to copy some files from a directory structure, like this:
<copy todir="${project.build.outputDirectory}"> <fileset dir="${basedir}/src/main/java"> <exclude name="**/*.java"/> </fileset> </copy> The problem is that it isn't what I need - I need to copy all non-.java files to the equivalent folder structure in the new location. Something like: folder1/folder2/file.java folder1/folder2/file.g folder1/folder2/folder3/file.java folder1/folder2/folder3/file.g becomes: folder1/folder2/file.g folder1/folder2/folder3/file.g As far I can see, this isn't possible - or I'm using the wrong fileset... Any ideas? :) Regards, Costin. -- View this message in context: http://www.nabble.com/Ant-recursive-copy-%2B-fileset-filter-tp22033163p22033163.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