I have proposed an <lsync> task which synchronizes two local directories (filesets in fact). It's not a comparison, but forces one directory to be the same as another. It works like <copy> (uses <copy> inside), with the added functionality of removing the files not in the source dir (fileset).
Otherwise, you either have to go with <foreach> (Yukes!), or writing your own task (more involved). Or <exec> a platform-specific tool to do it. --DD -----Original Message----- From: Scott Moore [mailto:Scott.Moore@;netDecide.com] Sent: Thursday, October 24, 2002 2:02 PM To: Ant User (E-mail) Subject: Comparing files in subdirectories I need to compare two directories (with subdirectories) to make sure all the files are exactly the same. Is there a way to do this with ANT 1.5.1? I saw the <condition> task has a filesmatch option, but that seems to work with only two files. Thanks for any help, Scott -- To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>
