You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/08/17 23:59:12 UTC
DO NOT REPLY [Bug 43159] New: - sync's preserveintarget parameter doesn't work correctly
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43159>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43159
Summary: sync's preserveintarget parameter doesn't work correctly
Product: Ant
Version: 1.7.0
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: bogofilter+apache.org@gmail.com
The sync task's preserveintarget parameter doesn't work correctly. Given the
task below, the .svn directory and its files will be preserved, but
subdirectories of .svn will be deleted.
<sync todir="somedir">
<fileset refid="somerefid"/>
<preserveintarget>
<include name="**/.svn/**"/>
</preserveintarget>
</sync>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: DO NOT REPLY [Bug 43159] New: - sync's preserveintarget
parameter doesn't work correctly
Posted by davidwincent <da...@knutpunkten.se>.
The problem with sync and .svn is that you have to enable includeEmptyDirs
<sync todir="${basedir}/publish" overwrite="true" includeEmptyDirs="true">
<fileset dir="${build.web.dir}">
</fileset>
<preserveintarget>
<include name="**/.svn/**" />
</preserveintarget>
</sync>
--
View this message in context: http://ant.1045680.n5.nabble.com/DO-NOT-REPLY-Bug-43159-New-sync-s-preserveintarget-parameter-doesn-t-work-correctly-tp1371117p4431354.html
Sent from the Ant - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org