I am using this script to calculate the md5 of files
<?xml version="1.0"?>
<project name="Hello World Project" basedir="." default="checkChecksum">
<property name="cms.dir" value="D:\CMS\webclient\WebContent" />
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<target name="createChecksum">
<checksum todir="./checksum">
<fileset dir="${cms.dir}"/>
</checksum>
<echo>Hello World - Welcome to Apache Ant!</echo>
<fileset id="src.files" dir="${cms.dir}" casesensitive="yes">
<include name="**/*.uim"/>
<include name="**/*.properties"/>
</fileset>
<pathconvert pathsep="${line.separator}" property="sounds" refid="src.files">
</pathconvert>
<echo file="sounds.txt">${sounds}</echo>
<loadfile property="files" srcFile="./sounds.txt"/>
<for list="${files}" delimiter="${line.separator}" param="file1">
<sequential>
<echo>@{file1}</echo>
</sequential>
</for>
</target>
</project>
Is there any way to get the name of the file which got modified I mean whose md5 dont match ??