Hello all,

I don't get what I do wrong. The manual says:

Copy a directory to another directory

  <copy todir="../new/dir">
    <fileset dir="src_dir"/>
  </copy>

Here is my xml code:
<!-- copy image directory -->
  <copy todir="${distdir}" verbose="true">
    <fileset dir="${imagedir}"/>
  </copy>

where
${distdir} = "./build/dist"
${imagedir}= "./resources/img", with a file "testimg.png" inside.

But Ant just copies "testimg.png" to ./build/dist, not the directory
"img". I guess I could just create the directory, but I am really
curious what I do wrong. Why doesn't it copy the directory itself?

Thanks for any help,

Mark

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

Reply via email to