Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

How to use <copy> keepoing the directory structure?

icet

2008-04-11

Replies: Find Java Web Hosting

Author LoginPost Reply

This is my target

 <target name="mapFileName" depends="clean">    
   <copy todir="destiny">
     <fileset dir="source" />
   </copy>
 </target>

My source files
source: source/test1a/folder1/file1.txt
      source/test1b/folder1b/file1b.txt

I want the result ot be something like
destiny: destiny/test1a/folder1a/file1a.txt
      destinytest1b/test1b/folder1b/file1b.txt

But I get
destiny: destiny/file1a.txt
      destiny/file1b.txt

Did I explain it right? Any ideas?

thanks
--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.