Needed the same functionality of fail. Have already coded it up. Will submit a patch tomorrow mailed it home from work but did not seem to arrive.
About 9NZDT = 8pm UTC. On Monday 05 March 2001 23:48, Nico Seessle wrote: } ----- Original Message ----- } From: "Bert Vermeerbergen" <[EMAIL PROTECTED]> } To: <[EMAIL PROTECTED]> } 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) }
