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?

Reply via email to