According to the documentation isset clause "Test whether a given property has been set in this project". I don't understand wheter isset returns true or false when a property is set In the below code snippet java.pass.home is set to somval when env.JAVA_HOME is not set .
<condition property="java.passed.home" value="somval">
<isset property="${env.JAVA_HOME}"/>
</condition>
This snippet works for my requirement but i think the correct code snippet should be something like this as i want to set the property when another property is not available
<condition property="java.passed.home" value="somval">
<not>
<isset property="${env.JAVA_HOME}"/>
</not>
</condition>
Can some one please clarify this? Thanks in advance