EJ, Maybe you can set up a target to do the copy for you and try something like this
<target name="copy-ui"> <echo message="copying from ${basedir}/web to ${catalina.home}/webapps/${webapp.name}"/> <copy todir="${catalina.home}/webapps/${webapp.name}"> <fileset dir="${basedir}/web"/> </copy> <echo message="copying from ${prj.basedir}/web/spicy to ${catalina.home}/webapps/${webapp.name}/project1"/> <copy todir="${catalina.home}/webapps/${webapp.name}/project1"> <fileset dir="${prj.basedir}/web/project1"/> </copy> <zipfileset dir="${ prj.basedir}/web/css" prefix="css"/> <echo message="copying from ${ prj.basedir}/web/css to ${catalina.home}/webapps/${webapp.name}/css/project1"/> <copy todir="${catalina.home}/webapps/${webapp.name}/css"> <fileset dir="${prj.basedir}/web/css"/> </copy> </target> We have a project that its contents need to copied into particular webapp project prior to building a war file. Hope this helps. -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 1:54 PM To: user@ant.apache.org Subject: help with copy and glob mapper We have a series of templates in a particular directory and I was hoping to use copy/glob mapper/expand properties in order to move them into the build directory AND rename them. At a point, the directory paths are identical, so what I was hoping to do is something like this: <copy todir="target" verbose="true"> <fileset dir="source" includes="**/*"/> <globmapper from="template-*" to="*"/> <filterchain> <expandproperties/> </filterchain> </copy> But for whatever reason, this only picks up files at the top level (things in source, but not source/somesubdir/someotherdir). Is there a way to do this? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]