The "glob" file mapper is exhibiting a behaviour I didn't expect:

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

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 +
/internal/ant.jarenv/apache-ant-1.6.2/lib.

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 <[EMAIL PROTECTED]>
Volantis Systems

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to