mbenson 2005/01/26 15:36:10 Modified: src/etc/testcases/taskdefs touch.xml Log: Changing the verification process not to rely on isfileselected because I'm too lazy to move it to the 1.6 branch right now when it's not even mine. :) Revision Changes Path 1.7 +24 -9 ant/src/etc/testcases/taskdefs/touch.xml Index: touch.xml =================================================================== RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/touch.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- touch.xml 15 Dec 2004 17:23:25 -0000 1.6 +++ touch.xml 26 Jan 2005 23:36:09 -0000 1.7 @@ -63,19 +63,34 @@ </compositemapper> </touch> + <fileset id="touchtest" file="touchtest"> + <selector refid="map.selector" /> + </fileset> + + <fileset id="touchtestfoo" file="touchtestfoo"> + <selector refid="map.selector" /> + </fileset> + + <fileset id="touchtestbar" file="touchtestbar"> + <selector refid="map.selector" /> + </fileset> + + <pathconvert property="touchtest" pathsep=" " + refid="touchtest" setonempty="false" /> + + <pathconvert property="touchtestfoo" pathsep=" " + refid="touchtestfoo" setonempty="false" /> + + <pathconvert property="touchtestbar" pathsep=" " + refid="touchtestbar" setonempty="false" /> + <fail> <condition> <not> <and> - <isfileselected file="touchtest"> - <selector refid="map.selector" /> - </isfileselected> - <isfileselected file="touchtestfoo"> - <selector refid="map.selector" /> - </isfileselected> - <isfileselected file="touchtestbar"> - <selector refid="map.selector" /> - </isfileselected> + <isset property="touchtest" /> + <isset property="touchtestfoo" /> + <isset property="touchtestbar" /> </and> </not> </condition>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]