-----Original Message----- From: Júlio Cesar Bueno Cotta [mailto:juliocbco...@gmail.com] Sent: Wednesday, July 29, 2009 10:21 PM To: Ant Users List Subject: compare files line by line /* Hello good people I am here again needing some help now I need to do a I script to compare two ".properties"..like
[...] I need to compare these two files and so fail the build if then have some differences.. [...] */ for a simple check, whether files are equal use condition / filesmatch, example = <condition property="propsrequal"> <filesmatch file1=".." file2=".."/> </condition> <target name="foo" if="propsrequal"> <echo> Files are equal ..</echo> </target> Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org