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 9385] - copy-task doesn´t support mapper-element
Date Fri, 24 May 2002 14:42:00 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=9385>.
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=9385

copy-task doesn´t support mapper-element





------- Additional Comments From bodewig@apache.org  2002-05-24 14:41 -------
The reason for WORKSFORME:

[bodewig@bodewig tmp]$ rm -rf bar
[bodewig@bodewig tmp]$ ls *.xml
a.xml  b.xml  copy.xml  c.xml  project.xml  test.xml
[bodewig@bodewig tmp]$ cat copy.xml 
<project default="copy">
  <target name="copy">
    <mkdir dir="bar"/>
    <copy todir="bar">
      <fileset dir="." includes="*.xml" />
      <mapper type="glob" from="*.xml" to="*.foo" />
    </copy>
  </target>
</project>
[bodewig@bodewig tmp]$ ant -version
Apache Ant version 1.5Beta compiled on May 24 2002
[bodewig@bodewig tmp]$ ant -f copy.xml 
Buildfile: copy.xml

copy:
    [mkdir] Created dir: /tmp/bar
     [copy] Copying 6 files to /tmp/bar

BUILD SUCCESSFUL
Total time: 1 second
[bodewig@bodewig tmp]$ ls bar/
a.foo  b.foo  c.foo  copy.foo  project.foo  test.foo

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


Mime
View raw message