diff --git a/WHATSNEW b/WHATSNEW
index 6c737aaf7..edbb93284 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -385,6 +385,11 @@ Other changes:
* <mapper type>
attribute.
+ This mapper supports an arbitrary number of nested mappers and + returns the results of the first mapper that matches. This is + different from composite mapper + which collects the results of all matching children.
+Examples: ++ ++<firstmatchmapper> + <globmapper from="*.txt" to="*.bak"/> + <globmapper from="*A.*" to="*B.*"/> +</firstmatchmapper> +
Source file name | +Target file names | +
foo/bar/A.txt |
+ foo/bar/A.bak |
+
foo/bar/A.java |
+ foo/bar/B.java |
+
The firstmatchmapper has no corresponding
+ <mapper type>
attribute.
+