checkstyle.sh from Texai at Krugle
Show checkstyle.sh syntax highlighted
#!/bin/sh
# Shell script to iterate over all java files in the src directory tree, trimming
# trailing whitespaces and executing Checkstyle.
#
# Stephen L Reed. October 1, 2006
# License: GPL
SRC=../src
LIB=../lib
for i in $( find $SRC | grep .java$ ); do
rm -f /tmp/rtrim.java
sed -e "s/ *$//" $i > /tmp/rtrim.java
rm $i
cat /tmp/rtrim.java > $i
java -jar $LIB/checkstyle-all-4.2.jar -c sun_checks.xml $i
done
See more files for this project here