ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject Re: Enhance existing task or add a new one ?
Date Mon, 05 Mar 2001 23:48:03 GMT
----- Original Message -----
From: "Bert Vermeerbergen" <>
To: <>
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)


View raw message