2
我想知道是否有可能在Ant(v1.9.4)中製作類似於: if((a = 1或a = 2)和(b = 3))然後......螞蟻 - 如果條件/和 - 或
我試圖
<ac:if>
<or>
<equals arg1="${aa}" arg2=""/>
<not>
<isset property="a"/>
</not>
</or>
<and>
<contains string="${b}" substring="${c}" casesensitive="false"/>
</and>
<then>
<property name="b" value="true" />
</then>
</ac:if>
但我得到了比錯誤,同時運行它...
感謝您的幫助,
問候,
完美!!謝謝 – Thiago