Information on how to implement interceptors can be found here .
I would start to write a script or select an existing application that checks the code of one * .java file. Since the * .jsp file contains a slightly different syntax, I would like to do the same for the * .jsp files, saving these scripts separately.
script, commit, Bash/Python. script *.java *.jsp.
, : script pre-commit script Subversion.