condition逻辑判断:
<project name="testCondition"> <target name="test"> <condition property="condition"> <istrue value="true"/> </condition> <antcall target="isTrue"></antcall> <antcall target="isFalse"></antcall> </target> <target name="isTrue" if="condition"> <echo>is ture</echo> </target> <target name="isFalse" unless="condition"> <echo>is false</echo> </target> </project>