You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by bejoy <be...@tarangtech.com> on 2006/02/16 13:10:49 UTC
File Copy issue
Hi All,
I want to copy a directory into another one.And I want to omit certain folders
in my source directory.How can I do this task
Src dir:
ABC
MyFolder
YourFolder
MyFile
And in the destination dir I want this structure
Dest dir
ABC
MyFolder
MyFile
Here I'm omitting "YourFolder"
Can anybody give me some idea
With Thanks & Regards,
Bejoy
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient or received it in error, please contact the sender by reply e-mail and destroy all copies of the original message. Please do not copy it for any purpose or disclose its contents.
Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved
RE: File Copy issue
Posted by Shweta Bodade <sh...@in.ness.com>.
Here Bejoy
Go like this and there is <fileset> task from Ant
Using this you can include or exclude certain files.
You will get it on net.
Hope this helps you
<copy todir="${CATALINA_HOME}\jade\WEB-INF">
<fileset dir="E:\jade help\WEB-INF"/>
</copy>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org