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 44873] Mapper behaviour is different when using Java 6
Date Fri, 26 Sep 2008 10:37:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44873





--- Comment #4 from Stefan Bodewig <bodewig@apache.org>  2008-09-26 03:37:51 PST ---
The composite mapper has two results, since one glob mapper and the identity
mapper match.

<copy> only uses the first result (enablemultiplemappings is false by default).

The documentation of composite mapper doesn't talk about the order of results
and in fact it uses a set in its implementation, making sort order depend on
the Java VM (or the phase of the moon).  We could fix that without breaking
anything, and I think I'll do that.

In your case you really want something else, you want some sort of composite
mapper where only the first match is used.  We don't have anything like this in
Ant right now.  Therefore I will first create a stable sort order and then
change this report to an enhancement request for a different kind of composite
mapper.


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

Mime
View raw message