ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject <sync> Problem
Date Thu, 14 Jun 2007 08:03:18 GMT

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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message