Re: tool to check that System.out.println() is only called from Log.java



Robert Klemme wrote:

What about grep?  AFAIR ant can search through files also.


I gave a simple example but in the future I would like to write more specific rules, which get very close to Java parsing...


I will be looking at http://classycle.sourceforge.net/ which says:
Classycle's Dependency Checker searchs for unwanted class dependencies described in a dependency definition file. Dependency checking helps to monitor whether certain architectural constrains (e.g. in a layered architecture) are fulfilled or not.


thanks,
Peter
.