ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: AW: Checking for and properties upon initialization
Date Mon, 21 Jul 2008 15:19:51 GMT
On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas
> What do you think?

Why not simply

<fail unless="log4j.lib.dir">Property log4j.lib.dir must be set</fail>
<fail unless="log4j.jar">Property log4j.jar must be set</fail>

And wrap this into a macro allowing to call as as <assert-property-set
name="log4j.lib.dir" />?

Only difference is that you can't easily all the properties not set at
once, but one at a time. Looks a bit simpler to me though. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message