ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46383] Documentation error: chained mapper NOT supported in 1.6.2
Date Thu, 11 Dec 2008 19:53:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46383





--- Comment #3 from Archie Cobbs <archie@dellroad.org>  2008-12-11 11:53:54 PST ---
To answer the other question, yes the glob and flatten mappers do work in ant
1.6.2 when used alone, but you are right, you have to use the syntax <mapper
type="foo">

For example, this works:

<?xml version="1.0" encoding="UTF-8"?>
<project name="foo" default="foo">
    <target name="foo">
        <mkdir dir="build"/>
        <move todir="build">
            <fileset dir="${basedir}">
                <include name="**/*.xml"/>
            </fileset>
            <mapper type="glob" from="*ild.xml" to="*ilderdash.xml"/>
        </move>
    </target>
</project>

but <globmapper> does not.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message