ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Milbratz" <milbr...@gmail.com>
Subject Re: checksum task: how can you use hash in a separate directory
Date Wed, 13 Feb 2008 14:16:28 GMT
Hi all,

Thanks for the resposnes. Martin, that's an elegant example and belongs in
the ant documentation.

As a follow up to Martin's example:
once you have the list of 'result" files (which lists all the .md5 files
which differ), how in ant can you generate a list of the *original* files.

i.e. so you can send a message telling the user that he changed
'src/jsp/foo.jsp' and not just that 'checksums/jsp/foo.jsp.md5' doesn't
match 'newchecksums/jsp/foo.jsp.md5'
Or better yet, so that your ant target can "act on those changes", i.e. and
backup src/jsp/foo.jsp before overwriting it....

This may simply be an exercise in string manipulation with Ant or "advanced
use of filesets",

thanks,

bill

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message