On Sat, 03 Sep 2005 14:28:00 +0200, Mark Wiehland wrote: >> ${distdir} = "./build/dist" >> ${imagedir}= "./resources/img", with a file "testimg.png" inside.
><!-- copy image directory --> > <copy todir="${distdir}/img" verbose="true"> > <fileset dir="${imagedir}"/> > </copy> >Ant will create the folder then. Still, I think this is not the way it >should be...shouldn't I be able to just copy a directory? If you tell Ant, yes. ;) <copy todir="${distdir}" verbose="true"> <fileset dir="${resourcesdir}" includes="img/"/> </copy> The point is that the RELATIVE paths in the filesets is what is copied, EXCLUDING the "dir". Ciao, Jürgen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]