https://issues.apache.org/bugzilla/show_bug.cgi?id=47755



--- Comment #3 from Stefan Bodewig <[email protected]> 2009-08-31 08:46:18 PDT 
---
Sorry, I misread your instructions since no-matter what overwrite says, a newer
file should always override the older one, that's by design.

For your don't overwrite existing files in any case I'd suggest you use a
fileset and a present selector, something like (untested)

<move todir=".">
  <fileset dir=".">
    <present targetdir="." present="srconly">
      <globmapper from="x.txt" to="y.txt"/>
    </present>
  </fileset>
  <globmapper from="x.txt" to="y.txt"/>
</move>

The mapper and targetdir stuff looks redundant, which could be reduced by ids
(at
least for the mapper) but my guess is this is mostly due to the example being
used.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to