ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <>
Subject RE: Checking if properties is set
Date Wed, 19 Sep 2001 23:35:20 GMT
> <target name="init">
>     <condition property="all.okay">
>         // use NOT, AND, OR etc here to check all required properties
>     </condition>
>     <antcall target="failIfMissingRequiredProperties"/>
> </target>

But how do I check within the NOT, AND, OR if a property is set. The
attribute "available" is a mimic of the Available task, and there you can
only check for a classname, file or resource as far as I can tell from the
ant manual, not for a property.


View raw message