ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Weighill-Smith <>
Subject Bug in the "glob" file mapper?
Date Fri, 13 Aug 2004 16:57:36 GMT
The "glob" file mapper is exhibiting a behaviour I didn't expect:

<copy ...
    <fileset ...
    <mapper type="glob" from="*/ant.jar" to="internal/ant.jar"/>

Assuming that "*" matches "env/apache-ant-1.6.2/lib" I expected this to
copy the ant.jar to a destination of copy's todir + /internal/ant.jar.
What it actually does is copy it to copy's todir +

I.e. if you don't use a "*" in the to attribute of the mapper, the "*"
match is suffixed onto the "to". This seems wrong to me. Is this a bug?

Phil :n.
Phil Weighill-Smith <>
Volantis Systems

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message