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 26364] - [PATCH] nested <mapper> for <pathconvert> PLUS composite <mapper>
Date Thu, 29 Jan 2004 16:53:01 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=26364>.
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=26364

[PATCH] nested <mapper> for <pathconvert> PLUS composite <mapper>

peter.reilly@corvil.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|<pathconvert> should support|[PATCH] nested <mapper> for
                   |nested <mapper>s in addition|<pathconvert> PLUS composite
                   |to its <map> element        |<mapper>



------- Additional Comments From peter.reilly@corvil.com  2004-01-29 16:52 -------
Opps, sorry about the change in title - "mid air collision"

My change was more to provide custom file name mappers like other
types in ant (conditions, filters selectors) as well as
to provide a container for multiple mappers.

The change also allows new attributes to be added to current file
name mappers - like an casesensitive attribute to the glob mapper (
bugzilla report 16686):
  <target name="casesensitive">
    <delete quiet="yes" dir="mapper.test"/>
    <mkdir dir="mapper.test"/>
    <touch file="mapper.test/1.test"/>
    <touch file="mapper.test/y.java"/>
    <path id="x">
      <fileset dir="mapper.test"/>
    </path>
    <pathconvert refid="x" targetos="unix" property="p">
      <mapper>
        <globmapper from="*.JAVA" to="*.out" casesensitive="no"/>
      </mapper>
    </pathconvert>
    <echo>${p}</echo>
  </target>

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


Mime
View raw message