You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by mw...@apache.org on 2003/03/20 08:17:34 UTC
cvs commit: jakarta-log4j-sandbox build.xml
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: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org