Malcolm,
You have fallen victim to the most common error when using functions... never nest your _expression_ evaluation brackets ${}
${directory::exists('${build.dir}')} becomes ${directory::exists(build.dir)}, and similar for your other expressions.
This is demonstrated in the fourth example o
this is your problem:
^^
don't quote variable names inside expressions - they will be treated as literal
strings. Use:
${directory::exists(build.dir)} instead.
The reason you're seeing mixed true and false output
I'm using nant 0.85 rc3 on an xppro box
I am using a variable to hold the word "build" (which is my build directory)
however, directory::exists seems to be working unexpectedly.
specifically notice that what looks like "exists('build')" seems to return both
true and false.
Am I missing somethin