ok, so I have directory with 'src' and 'res' subdirectories. I want to copy the src & res dirs to the temp directory preserving thier directory structure but using a inclues/excludes pattern to onle copy certain files (ex. *.java & *.png). I though the below would do that but it doesn't see to copy anything or create the temp/src and temp/res dirs.

<copy preservelastmodified="true"
      todir="${basedir}/${temp.dir}"
      overwrite="yes"
      failonerror="true">
    <fileset dir="${basedir}/${fromDir}"
             includes="${src.dir}/${src.includes}"
             excludes="${src.dir}/${src.excludes}" />
    <fileset dir="${basedir}/${fromDir}"
             includes="${res.dir}/${res.includes}"
             excludes="${res.dir}/${res.excludes}" />
</copy>

--
--
Jeffrey Bacon
[EMAIL PROTECTED]
Creative Developer
http://www.magmic.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to