ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: compare files line by line
Date Thu, 30 Jul 2009 07:24:16 GMT

-----Original Message-----
From: JĂșlio Cesar Bueno Cotta [] 
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"


I need to compare these two files and so fail the build if then have some

for a simple check, whether files are equal use
condition / filesmatch, example =

<condition property="propsrequal">
  <filesmatch file1=".." file2=".."/>

<target name="foo" if="propsrequal">
  <echo> Files are equal ..</echo>

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message