From 9a90265a335104835ae034a7f221aa459f3af59d Mon Sep 17 00:00:00 2001
From: Jan Materne
+ <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
+