From: Stefan B. <bo...@us...> - 2005-03-07 11:43:29
|
Update of /cvsroot/ant-contrib/ant-contrib/test/resources/math In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4644/test/resources/math Modified Files: mathtest.xml Log Message: Remove stray CRs Index: mathtest.xml =================================================================== RCS file: /cvsroot/ant-contrib/ant-contrib/test/resources/math/mathtest.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mathtest.xml 15 Sep 2004 21:33:16 -0000 1.1 --- mathtest.xml 7 Mar 2005 11:43:07 -0000 1.2 *************** *** 1,22 **** ! <?xml version="1.0"?> ! ! <project name="mathtest" basedir="." default="test1"> ! <description> ! test build file for the Math task ! </description> ! ! <taskdef resource="net/sf/antcontrib/antcontrib.properties"> ! <classpath location="${antcontrib.jar}"/> ! </taskdef> ! ! <target name="test1"> ! <var name="op1" value="12"/> ! <var name="op2" value="6"/> ! <var name="op" value="+"/> ! ! <!-- demo plus --> ! <math result="result" operand1="${op1}" ! operation="${op}" operand2="${op2}" datatype="int"/> ! <echo>${op1} ${op} ${op2} = ${result}</echo> ! </target> ! </project> --- 1,22 ---- ! <?xml version="1.0"?> ! ! <project name="mathtest" basedir="." default="test1"> ! <description> ! test build file for the Math task ! </description> ! ! <taskdef resource="net/sf/antcontrib/antcontrib.properties"> ! <classpath location="${antcontrib.jar}"/> ! </taskdef> ! ! <target name="test1"> ! <var name="op1" value="12"/> ! <var name="op2" value="6"/> ! <var name="op" value="+"/> ! ! <!-- demo plus --> ! <math result="result" operand1="${op1}" ! operation="${op}" operand2="${op2}" datatype="int"/> ! <echo>${op1} ${op} ${op2} = ${result}</echo> ! </target> ! </project> |