ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Comparing direcories / ${toString: ... } ?!
Date Wed, 25 Jan 2006 11:25:21 GMT
>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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message