<antcontrib:math result="is.smaller" operand1="${arg1}" operand2="${arg2}"
operation="-" datatype="int"/>
<antcontrib:if>
<matches pattern="-[0-9]+" string="${is.smaller}" />
<then>
<echo>${arg1} is smaller than ${arg2}</echo>
</then>
</antcontrib:if>
Hachja... Ant rockt schon manchmal *seufz*
Keine Kommentare:
Kommentar veröffentlichen