You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2021/08/19 12:32:31 UTC

[Bug 65497] Copy overwrite/granuarity broken

https://bz.apache.org/bugzilla/show_bug.cgi?id=65497

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |1.10.12
          Component|Core tasks                  |Documentation
                 OS|                            |All
         Resolution|---                         |FIXED

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
Just in case you have missed it: <copy> has a granularity attribute you can set
to 0 rather than setting overwrite to true. This way you avoid the full
overwrite case and just fix the problem of your short-lived files.

The reasons for "granularity" in itself are pretty long winded and I'm sure
I've forgotten most of them. I've adapted the documentation a bit:
https://github.com/apache/ant/commit/8593dbc3d1a40540cdeb3dc0726a94aded1ec238/

-- 
You are receiving this mail because:
You are the assignee for the bug.