DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-24 Thread bugzilla
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-07-24 13:24 ---
Commited the patch with some slight modifications (change
name of attribute from igore to enable, and some check
style changes). Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-15 Thread bugzilla
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





--- Additional Comments From [EMAIL PROTECTED]  2003-07-15 00:35 ---
I was just curious if I submitted my proposed patch correctly (per directions 
at http://www.apache.org/dev/contributors.html) and wanted to make sure it 
didn't fall through the cracks.  Not urgent...just checking.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-15 Thread bugzilla
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





--- Additional Comments From [EMAIL PROTECTED]  2003-07-15 08:15 ---
The patch is fine.

It would be nice to have some unit tests.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-15 Thread bugzilla
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





--- Additional Comments From [EMAIL PROTECTED]  2003-07-15 13:44 ---
Created an attachment (id=7302)
Ant build script to run some unit tests

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-08 Thread bugzilla
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





--- Additional Comments From [EMAIL PROTECTED]  2003-07-08 07:39 ---
One thing to be aware of is that the dependency
code in copy is strongly bound to
a single source file - target file mapping.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-08 Thread bugzilla
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC|[EMAIL PROTECTED]  |
 AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
 Status|ASSIGNED|NEW



--- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-07 Thread bugzilla
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-07 Thread bugzilla
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]
 Status|ASSIGNED|NEW

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-04 Thread bugzilla
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





--- Additional Comments From [EMAIL PROTECTED]  2003-07-04 06:50 ---
Any change will likely need to propagate to Move.java as well (which is a 
subclass
of Copy).  And to Sync (new in Ant 1.6), which uses a subclass of Copy 
internally.

We'd also need to make some strong notes in the javadocs as well as in WHATSNEW.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-03 Thread bugzilla
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





--- Additional Comments From [EMAIL PROTECTED]  2003-07-03 20:05 ---
I could try to fix this problem, but I would be glad to see what other 
committers think about that first.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 21320] - Copy task ignores all but first file returned by FileNameMapper

2003-07-03 Thread bugzilla
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





--- Additional Comments From [EMAIL PROTECTED]  2003-07-03 21:17 ---
It is a good idea that you prepare patches against HEAD.
Since these patches will induce a change of behavior of the tasks, it might be 
good to add a new flag to the copy task called for instance 
ignoredoublemappings 
and set it to true by default.
This way in the normal case only the first mapping will be used, leaving the 
behavior of the task intact. 
If you do copy ignoredoublemappings=false/ then copy/ will use all 
mappings.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]