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 22361] New: - Copy with glob mapper maps AND copies originals
Date Tue, 12 Aug 2003 21:06:37 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=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


Mime
View raw message