ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Tiley" <>
Subject RE: Source code scanning
Date Wed, 18 Apr 2007 16:25:34 GMT
You could look at Checkstyle ( 

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



-----Original Message-----
From: Loehr, Ruel [] 
Sent: Wednesday, April 18, 2007 11:26 AM
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:
For additional commands, e-mail:

View raw message