stevel 02/05/15 12:39:05 Modified: src/etc/testcases/taskdefs Tag: ANT_15_BRANCH condition.xml Log: some more filesmatch tests. They are passing, so I dont know why my deploy build file isnt Revision Changes Path No revision No revision 1.2.2.1 +23 -0 jakarta-ant/src/etc/testcases/taskdefs/condition.xml Index: condition.xml =================================================================== RCS file: /home/cvs/jakarta-ant/src/etc/testcases/taskdefs/condition.xml,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- condition.xml 19 Apr 2002 07:16:27 -0000 1.2 +++ condition.xml 15 May 2002 19:39:05 -0000 1.2.2.1 @@ -197,6 +197,7 @@ </condition> <echo>${filesmatch-different}</echo> </target> + <target name="filesmatch-match" > <echo file="match3.txt" message="012345676890" /> @@ -208,6 +209,26 @@ </condition> <echo>${filesmatch-match}</echo> </target> + + <target name="filesmatch-different-sizes"> + <echo file="match5.txt" message="012345676890" /> + <echo file="match6.txt" message="0123456768" /> + <condition property="filesmatch-different-sizes"> + <filesmatch + file1="match5.txt" + file2="match6.txt" /> + </condition> + <echo>${filesmatch-different-sizes}</echo> + </target> + + <target name="filesmatch-different-onemissing"> + <condition property="filesmatch-different-sizes"> + <filesmatch + file1="condition.xml" + file2="missing-file.txt" /> + </condition> + <echo>${filesmatch-different-onemissing}</echo> + </target> <target name="contains" > <condition property="contains"> @@ -332,6 +353,8 @@ <delete file="match2.txt" /> <delete file="match3.txt" /> <delete file="match4.txt" /> + <delete file="match5.txt" /> + <delete file="match6.txt" /> </target> </project>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>