Debian Codegraph @

test/resources/math/mathtest.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <project name="mathtest" basedir="." default="test1">
4 <description>
5 test build file for the Math task
6 </description>
7
8 <taskdef resource="net/sf/antcontrib/antcontrib.properties">
9 <classpath location="${antcontrib.jar}"/>
10 </taskdef>
11
12 <target name="test1">
13 <var name="op1" value="12"/>
14 <var name="op2" value="6"/>
15 <var name="op" value="+"/>
16
17 <!-- demo plus -->
18 <math result="result" operand1="${op1}"
19 operation="${op}" operand2="${op2}" datatype="int"/>
20 <echo>${op1} ${op} ${op2} = ${result}</echo>
21 </target>
22 </project>