You could look at Checkstyle (http://checkstyle.sourceforge.net/)
I am not sure if it handles JSP files but it is worth a look into ( I think you may be able to specify .jsp extensions) Have a look at the GenericIllegalRegexp options HTH Sean -----Original Message----- From: Loehr, Ruel [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 11:26 AM To: user@ant.apache.org Subject: Source code scanning I have an ant task which I need to write and would like to pick your brains to see if you have heard of anything similar....... We provide a web app which has internationalization support. Invariably, our developers tend to hardcode the strings when they should be using the localization functionality for the display layer. I'd like to either write (or find) a task which scans our source code looking at each jsp file. I'll have a predefined list of terms e.g. "Resource", "Customer"........ and so on. If any of those terms are found in the jsp file it will report the filename and line number. I would think that this is a semi-common problem. Has anyone heard of any similar tools before I reinvent the wheel? Ruel Loehr Configuration Management Pointserve, Inc. 110 Wild Basin Road Suite 300 Austin, Texas 78746 O: 512.617.5314 F: 512.617.0466 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]