Can ant break upon encountering an undefined property?

21 views Asked by At

We'd like ant to fail early, when it is invoked incorrectly -- when some property is found to be undefined.

By default, however, the tool will substitute the literal ${foo} in such cases. (It logs this condition -- but only at DEBUG-level.)

Is it possible to change that -- making it fail with something like foo is undefined? Some equivalent to set -u in bash?

0

There are 0 answers