ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <nicola...@apache.org>
Subject Can't get mapper in move task to work
Date Fri, 03 May 2002 16:28:13 GMT
I want to rename all "book.prxml" files in all ${docs.src} subdirectories to
"project.xml".

This is how I try it but it doesn't work; only the book.prxml in ${docs.src}
itself gets renamed.

    <move todir="${docs.src}" >
      <fileset dir="${docs.src}">
       <include name="**/book.prxml"/>
      </fileset>
     <mapper type="glob" from="book.prxml" to="project.xml"/>
    </move>

Any ideas?

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


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


Mime
View raw message