You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/08/12 23:06:37 UTC
DO NOT REPLY [Bug 22361] New: -
Copy with glob mapper maps AND copies originals
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: dev@ant.apache.org
ReportedBy: erico@sedonacorp.com
-------------------------------------------------------------------
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org