If the attribute does not indicate in plain language that if the property is set, the task will not be completed. eg,
<target name="clean" unless="clean.not"> <delete dir="${src}" /> <property name="clean.not" value="true" /> <delete dir="${dest}" /> </target>
Here, if you call a clean target, it starts first, then its value is set. And if you want to call it again in the script, this does not mean that the property does not have to be set in order to complete the task.
SteveScm
source share