如何找出两个数值属性中哪一个最大?
以下是检查两者是否相等的方法:
<condition property="isEqual">
<equals arg1="1" arg2="2"/>
</condition>
Run Code Online (Sandbox Code Playgroud) <if>
<bool>
<isgreaterthan arg1="${abc}" arg2="${xyz}"/>
</bool>
</if>
Run Code Online (Sandbox Code Playgroud)
当我运行代码时,它显示错误 if doesn't support the nested "bool" element.
是否有任何其他选项是在bool的地方支持if
ant ×2