Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
<sync > Problem

<sync > Problem

2007-06-14       - By Rebhan, Gilbert
Reply:     1     2  


Hi,

a question related to sync task
dir
/srcdir
/sub
/tools
/sub1
  /tools
/sub2
 /subsub2

i want to exclude the /tools folder on first level
from synchronize, but if i exclude it from fileset
it get's deleted in todir

/targetdir
/sub
/sub1
  /tools
/sub2
  /subsub2


<fileset dir="srcdir" id="syncdir">
<excludes ="tools/**" />
</fileset>


<sync todir="targetdir">
   <fileset refid="syncdir"
   />

How to prevent folders from getting deleted
from todir by sync task ?

Regards, Gilbert

---------------------------------------------------------------------
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.