For those of you that do lots with ant -
JWare/AntXtras is likely to provide a ready made extension to help you.
I particularly like the looping constructs that make self adapting builds much simpler to assemble.
This is a POTB (Plain Old Techie Blog). You are likely to come across references to Open Source software, Java, J2EE and various internet topics like security and search engines. Be Seeing You.