Mmm,
the manual states:
"""
A target also has the ability to perform its execution if (or unless)
a property has been set. This allows, for example, better control on
the building process depending on the state of the system (java
version, OS, command-line property defines, etc.). To make a target
Rainer,
You couldn't be more wrong about the lack of documentation of the non-use of
the ${} notation in if / unless.
The section about targets DOES NOT say that you don't use the ${} notation for
if / unless. It does say this, however:
'This is done by placing the property name between "${"
Hi Dean,
${} refers to the value of a property.
if / unless attributes refers to the existence (i.e. name) of a property.
IMHO, the different notation is reasonable.
However, this syntax and behaviour is pointed out explicitely in the manual:
->Using Ant->Targets
Cheers
Rainer
-Ursprüngli