Possible Duplicate:
How to search for a string in files with Ant (make sure certain string isn't found in source files)
I am working on a project with a small team (~5 developers) and we would like to ensure that a list of words does not end up in our source code. This code is a extGWT project and we are using an ANT build script to build and deploy our project. We have a text file that has the list of bad words. The build will happen on a linux machine so I have access to find and grep and the like. I can just have the build fail if a bad word is found and we can then do a search of the source code to find where the bad word is located. Any hints on getting this working would be a huge help.
Thanks to all the comments I received I was able to solve my issue and I thought I would put my full solution here for future reference.