Created attachment 36966 [details] the build-file, and patch For example, I use a target with 'if' attribute, which value expands to a boolean: <property name="run_test-if" value="no" /> <target name="test-if" if="${run_test-if}" /> In this case in verbose messages I expected to see some information on skipping the target because of a falsy value after property expansion. Instead I saw this: "Skipped because property 'no' no set". Please, see the attachment containing a build-file, and my humble patch with a possible solution. Run the build-file as: ant -v test-if ant -v test-unless ant -v test-if-non-boolean-expansion ant -v test-unless-non-boolean-expansion (the last two targets are more for testing the patch)