diff --git a/WHATSNEW b/WHATSNEW
index 204af08f7..5e3aa5114 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -1034,6 +1034,9 @@ Other changes:
collections.
Bugzilla Report 22269.
+ * a new A generic resource collection, designed for use with
@@ -1068,6 +1070,8 @@ larger collection. Since Ant 1.7.1. Since Ant 1.8.0 Wraps another resource collection and maps the names of the nested
resources using a mapper.resources
mappedresources
+
Since Ant 1.8.0
+This resource collection accepts an arbitrary number of nested resources and assumes that all those resources must be either ZIP or TAR archives. The resources returned @@ -1166,5 +1172,80 @@ larger collection. Since Ant 1.7.1.
+Since Ant 1.8.0
+ +This resource collection accepts an arbitrary number of nested + resources, reads those resources and returns a resource for each + line read.
+ +If the line contains a colon, Ant will try to use it as an URL and + if that fails (or the line doesn't contain a colon) will return a + file resource with the line's content as its name.
+ +Properties will be expanded for each line. If the property + expansion yields a resource object rather than a string (for example + because of custom property helpers), the resources will be returned + directly.
+ +<resourcelist>
is a generalization
+ of <filelist>
.
++ ++
++ +Attribute +Description +Required ++ +encoding +The encoding of the nested resources +No, default is platform default +
++Parameters specified as nested elements
+ ++ +
<resourcelist>
accepts arbitrary many + resource(collection)s as nested elements.In addition
+ +<resourcelist>
supports + nested<filterchain>
elements that can be used + to filter/modify the read resources before their lines get + expanded. Such a nested element corresponds to + a filterchain.Examples
+ +The following example copies a file from the first URL of + several alternatives that can actually be reached. It assumes + that the file mirrors.txt looks like
+ ++ mirrors.txt: +http://best.mirror.example.org/ +http://second.best.mirror.example.org/mirror/of/best/ +https://yet.another.mirror/ +http://the.original.site/ ++ ++ <copy todir="${target}"> + <first> + <restrict> + <resourcelist> + <file file="mirrors.txt"/> + </resourcelist> + <exists/> + </restrict> + </first> + </copy> ++