From cd8ef18058976a150028b5f88a409cdfaf279dc2 Mon Sep 17 00:00:00 2001
From: Diane Holt ${src}/xml directory.
xmlBuild.notRequired property can then be used in a
+<target> tag's unless attribute to
+conditionally run that target. For example, running the following target:
++<target name="xmlBuild" depends="chkXmlBuild" unless="xmlBuild.notRequired"> + ... +</target> ++will first run the
chkXmlBuild target, which contains
+the <uptodate> task that determines whether
+xmlBuild.notRequired gets set. The property named in
+the unless attribute is then checked for being set/not set.
+If it did get set (ie., the jar file is up-to-date),
+then the xmlBuild target won't be run.
+The following example shows a single source file being checked +against a single target file:
<uptodate property="isUpToDate"
srcfile="/usr/local/bin/testit"
targetfile="${build}/.flagfile"/>