mwomack 2003/03/19 23:17:34 Modified: . build.xml Log: Changes to use checkstyle 3.0. Revision Changes Path 1.6 +13 -3 jakarta-log4j-sandbox/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-log4j-sandbox/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.xml 20 Feb 2003 07:32:51 -0000 1.5 +++ build.xml 20 Mar 2003 07:17:34 -0000 1.6 @@ -165,10 +165,20 @@ classpath="${checkstyle.jar}"/> <!-- by default checkstyle supports the Sun coding standard. --> - <checkstyle> + <checkstyle config="src/sun_checks.xml"> <fileset refid="styled_files"/> - <property key="checkstyle.ignore.public.in.interface" value="true" /> - <property key="checkstyle.allow.protected" value="true" /> + <!-- allow public in interfaces even if redundant --> + <property key="checkstyle.ignore.public.in.interface" value="true" /> + <!-- do not check javadocs --> + <!--property key="checkstyle.javadoc.scope" value="nothing" /--> + + <!-- allow for lines of 100 chars. These long lines will be + weeded out by jalopy --> + <property key="checkstyle.maxlinelen" value="100"/> + + <property key="checkstyle.allow.protected" value="true" /> + <property key="checkstyle.maxmethodlen" value="500" /> + <property key="checkstyle.maxconstructorlen" value="500" /> </checkstyle> </target>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]