Hi, sorry,i don't know how to use <uptodate> in that context ?!
any snippets for that ? don't know if i understand the pathproblem = the paths of the compared filesets are equal, as i define the filesets myself. the order could be achieved with antcontrib/SortList if that would be a problem Gilbert i did some tests with that script and all wen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 12:25 PM To: [email protected] Subject: AW: Comparing direcories / ${toString: ... } ?! >i want to check whether two directory listings are equal, >means they contain the same set of files. first thought: uptodate ><fileset dir="T:/testdir1" includes="**/*.*" >id="dir1"defaultexcludes="false" /> ><fileset dir="T:/test/dir2" includes="**/*.*" id="dir2" >defaultexcludes="false"/> > > <equals arg1="${toString:dir1}" arg2="${toString:dir2}"/> > >some threads say that ${toString: ... } is a bit experimental, would be problematic, because you dont know the order of the files ... paths must not be absolute... Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
