ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper
Date Tue, 08 Jul 2003 15:53:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21320>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21320

Copy task ignores all but first file returned by FileNameMapper

eeaston@ptc.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|dev@ant.apache.org          |
         AssignedTo|eeaston@ptc.com             |dev@ant.apache.org
             Status|ASSIGNED                    |NEW



------- Additional Comments From eeaston@ptc.com  2003-07-08 15:53 -------
Submitted Patch - Please review and commit if acceptable.

I changed the behavior of Move slightly to check for self-move of empty 
directories.  As of Move's 1.35 version, this check was not done and a self-
move would delete the directory.

I did not touch Sync$MyCopy as it currently asserts the use of an Identity 
mapper.  Certainly rules for doing mapping in a Sync task could be devised, but 
they'd be pretty hairy since syncing is two way and I'm not sure how you'd deal 
with N-to-1 syncs in the reversal of a mapping.  I'll let the core team decide 
to do something about this if they feel it's necessary...I don't consider Sync 
broken in terms of mapping.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message