ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natalia Bello <>
Subject Set property with condition.
Date Mon, 10 Sep 2001 11:58:48 GMT
Hi all!
I think it is not difficult, but i dont find the way to do it.
I want to set a property only if two others are not set.
That is,  i want to set the property "compile.all" if "include.module" and
"exclude.module" both, are not set.
To what I should compare the properties??

<condition property="compile.all">
             <equals arg1="${include.module}" arg2="??????"/>
             <equals arg1="${exclude.module}" arg2="??????"/>

Thanks in advanced!

View raw message