ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: AW: Checking for build.properties and properties upon initialization
Date Mon, 21 Jul 2008 15:19:51 GMT
On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas
<dimitris.mouchritsas@eurodyn.com
> 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>
etc...

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message