Title: Set property with condition.

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">
          <and>     
             <equals arg1="${include.module}" arg2="??????"/>
             <equals arg1="${exclude.module}" arg2="??????"/>
          </and> 
</condition>

Thanks in advanced!
Natalia

Reply via email to