<dependset> <srcfilelist dir = "${dtd.dir}" files = "paper.dtd,common.dtd"/> <srcfilelist dir = "${xsl.dir}" files = "common.xsl"/> <srcfilelist dir = "${basedir}" files = "build.xml"/> <targetfileset dir = "${output.dir}" includes = "**/*.html"/> </dependset>In this example derived HTML files in the ${output.dir} directory will be removed if any are out-of-date with respect to:
If any of the source files in the above example does not exist, all target files will also be removed. To ignore missing source files instead, use filesets instead of filelists for the source files.