----- Original Message -----
From: "Bert Vermeerbergen" <Bert.Vermeerbergen@yucom.be>
To: <ant-dev@jakarta.apache.org>
Sent: Monday, March 05, 2001 10:39 PM
Subject: Enhance existing task or add a new one ?
> I see three options, my question is which one to select:
>
I see a fourth:
4) Add if/unless-attributes to the fail-task. Then you could write your
build.xml in one target
<available property="mylogger" classname="mylogger.Logger" />
<fail message="Required 'mylogger' not found" unless="mylogger"/>
and one could use this task to validate that properties are set in other
places (for example using -D on the command-line)
Nico
|