diff --git a/docs/manual/CoreTypes/resources.html b/docs/manual/CoreTypes/resources.html index d0a8281b5..78ba73f6a 100644 --- a/docs/manual/CoreTypes/resources.html +++ b/docs/manual/CoreTypes/resources.html @@ -728,6 +728,23 @@ platforms. from the Classpath (already used while compiling).

+
+  <project>
+      <filelist id="allfiles" dir="${ant.home}/bin" files="ant.cmd,foo.txt,ant.bat,bar.txt,ant"/>
+      <restrict id="missingfiles">
+          <filelist refid="allfiles"/>
+          <rsel:not xmlns:rsel="antlib:org.apache.tools.ant.types.resources.selectors">
+              <rsel:exists/>
+          </rsel:not>
+      </restrict>
+      <echo>These files are missed: ${toString:missingfiles}</echo>
+  </project>
+  
+

The resource collection allfiles defines a list of files which are expected. The restrict + missingfiles uses the <not><exists> selector for getting all files + which are not present. Finally we use the toString: pathshortcut for + getting them in a readable form: [echo] These files are missed: ....foo.txt;....bar.txt

+

sort