IMHO, This would be well supported by my "culler" submission once a
"comparison culler" is added (in about a week?). It would look
something like this:
<copy toDir="\tmp\toDir">
<fileset dir="\tmp\fromDir">
<compareculler dir="\\tmp\toDir" exists="no" />
</fileset>
</copy>
I might add that the comparison culler will also support "newer" and
other comparison options.
d
On Tue, 13 Mar 2001 03:36:40 -0800 (PST), [EMAIL PROTECTED] wrote:
>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=957
>
>*** shadow/957 Tue Mar 13 03:36:40 2001
>--- shadow/957.tmp.4491 Tue Mar 13 03:36:40 2001
>***************
>*** 0 ****
>--- 1,26 ----
>+
>+============================================================================+
>+ | There should be an option to *never* overwrite/replace files in varous tas
>|
>+
>+----------------------------------------------------------------------------+
>+ | Bug #: 957 Product: Ant
>|
>+ | Status: NEW Version: 1.3
>|
>+ | Resolution: Platform: All
>|
>+ | Severity: Enhancement OS/Version: All
>|
>+ | Priority: Low Component: Core tasks
>|
>+
>+----------------------------------------------------------------------------+
>+ | Assigned To: [EMAIL PROTECTED] |
>+ | Reported By: [EMAIL PROTECTED] |
>+ | CC list: Cc:
>|
>+
>+----------------------------------------------------------------------------+
>+ | URL:
>|
>+
>+============================================================================+
>+ | DESCRIPTION
>|
>+ There should be an option to *never* clobber existing files in operations
>+ like copy or move, even if the source files are newer. This would be very
>+ useful in install targets to protect config files which the user usually
>+ edits by hand.
>+ Going by the modification date is not good enough, because the sample
>+ config files or templates might be newer, but that's no reason to replace
>+ the customized files already present.
>+
>+ A possibility would be a new value for the overwrite attribute (like
>"never") or a new
>+ attribute.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]