You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by davidwincent <da...@knutpunkten.se> on 2011/05/27 11:43:59 UTC

Re: DO NOT REPLY [Bug 43159] New: - sync's preserveintarget parameter doesn't work correctly

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