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=22361>. 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=22361 Copy with glob mapper maps AND copies originals Summary: Copy with glob mapper maps AND copies originals Product: Ant Version: 1.5.3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] ------------------------------------------------------------------- Using following XML fragment ------------------------------------------------------------------- <target name="Tools_copy_blueprint_one_org" > <copy todir="${Tools.Dir.BluePrint}" verbose="true" > <fileset dir="${Tools.Src.Dir.BluePrint}" > <include name="*.csv" /> </fileset> <mapper type="glob" from="*" to="${Tools.org}_*" /> </copy> </target> ------------------------------------------------------------------- Results ------------------------------------------------------------------- Tools_copy_blueprint_one_org: [copy] Copying 6 files to D:\TEMP\SDNA50\tools\blueprint [copy] Copying D:\SEDONA\intarsia5.0\installer\tools\blueprint\actors.csv t o D:\TEMP\SDNA50\tools\blueprint\ORA1_actors.csv [copy] Copying D:\SEDONA\intarsia5.0\installer\tools\blueprint\workgroups.c sv to D:\TEMP\SDNA50\tools\blueprint\ORA1_workgroups.csv [copy] Copying D:\SEDONA\intarsia5.0\installer\tools\blueprint\servlet_perm issions.csv to D:\TEMP\SDNA50\tools\blueprint\ORA1_servlet_permissions.csv [copy] Copying D:\SEDONA\intarsia5.0\installer\tools\blueprint\subscription s.csv to D:\TEMP\SDNA50\tools\blueprint\ORA1_subscriptions.csv [copy] Copying D:\SEDONA\intarsia5.0\installer\tools\blueprint\users.csv to D:\TEMP\SDNA50\tools\blueprint\ORA1_users.csv [copy] Copying D:\SEDONA\intarsia5.0\installer\tools\blueprint\channels.csv to D:\TEMP\SDNA50\tools\blueprint\ORA1_channels.csv ------------------------------------------------------------------- Expectation ------------------------------------------------------------------- Expecting to get six mapped (renamed) files Ant claimed to have copied in the output given above. However, I get 12 files in the destination directory -- the six expected mapped names, PLUS the six orginal names. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]