notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1341 - in development/main/magic/spells/checkstyle/etc/deliverables: formats templates
- From: mcconnell AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1341 - in development/main/magic/spells/checkstyle/etc/deliverables: formats templates
- Date: Sun, 02 Jan 2005 16:03:15 +0100
Author: mcconnell
Date: Sun Jan 2 16:03:15 2005
New Revision: 1341
Added:
development/main/magic/spells/checkstyle/etc/deliverables/formats/dpml.format
Removed:
development/main/magic/spells/checkstyle/etc/deliverables/formats/standard.format
Modified:
development/main/magic/spells/checkstyle/etc/deliverables/templates/checkstyle.template
Log:
rename standard.format to dpml.format
Added:
development/main/magic/spells/checkstyle/etc/deliverables/formats/dpml.format
==============================================================================
--- (empty file)
+++
development/main/magic/spells/checkstyle/etc/deliverables/formats/dpml.format
Sun Jan 2 16:03:15 2005
@@ -0,0 +1,206 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
+<module name="Checker">
+ <module name="TreeWalker">
+ <module
name="com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck">
+ <property name="severity" value="ignore"/>
+ <property name="tokens" value="METHOD_DEF, CTOR_DEF"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck">
+ <property name="format" value="\s+$"/>
+ <property name="ignoreCase" value="false"/>
+ <property name="ignoreComments" value="false"/>
+ <property name="message" value="Line has trailing spaces."/>
+ <property name="severity" value="ignore"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.ModifierOrderCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.RedundantModifierCheck">
+ <property name="severity" value="ignore"/>
+ <property name="tokens" value="METHOD_DEF, VARIABLE_DEF"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.UpperEllCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck">
+ <property name="option" value="stmt"/>
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="LITERAL_CATCH, LITERAL_DO,
LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF, LITERAL_FOR, LITERAL_TRY,
LITERAL_WHILE, STATIC_INIT"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck">
+ <property name="maxLineLength" value="80"/>
+ <property name="option" value="nl"/>
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="CLASS_DEF, CTOR_DEF,
INTERFACE_DEF, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY,
LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY,
LITERAL_WHILE, METHOD_DEF"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck">
+ <property name="option" value="alone"/>
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="LITERAL_CATCH, LITERAL_ELSE,
LITERAL_TRY"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <!--
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ -->
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck">
+ <property name="severity" value="ignore"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <!--
+ <module
name="com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ -->
+ <module
name="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck">
+ <property name="applyToPackage" value="true"/>
+ <property name="applyToPrivate" value="true"/>
+ <property name="applyToProtected" value="true"/>
+ <property name="applyToPublic" value="true"/>
+ <property name="format" value="^m_[a-z][a-zA-Z0-9]*$"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck">
+ <property name="ignorePattern" value="^$"/>
+ <property name="max" value="80"/>
+ <property name="severity" value="ignore"/>
+ <property name="tabWidth" value="4"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck">
+ <property name="max" value="12"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck">
+ <property name="option" value="space"/>
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="CTOR_CALL, LPAREN, METHOD_CALL,
RPAREN, SUPER_CTOR_CALL"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.TabCharacterCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module
name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck">
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="BAND, BAND_ASSIGN, BOR,
BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN,
EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_ASSERT, LITERAL_DO, LITERAL_RETURN,
LITERAL_TRY, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS,
PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR,
STAR_ASSIGN"/> <!-- LITERAL_SYNCHRONIZED, ASSIGN, LITERAL_FOR, LITERAL_WHILE,
-->
+ </module>
+ </module>
+</module>
Modified:
development/main/magic/spells/checkstyle/etc/deliverables/templates/checkstyle.template
==============================================================================
---
development/main/magic/spells/checkstyle/etc/deliverables/templates/checkstyle.template
(original)
+++
development/main/magic/spells/checkstyle/etc/deliverables/templates/checkstyle.template
Sun Jan 2 16:03:15 2005
@@ -25,7 +25,7 @@
<magic:plugin uri="@PLUGIN-URI@"/>
<mkdir dir="target/checkstyle"/>
<checkstyle xmlns="plugin:dpml/magic/dpml-magic-checkstyle"
- uri="artifact:format:dpml/magic/standard">
+ uri="artifact:format:dpml/magic/dpml">
<formatter type="xml"
toFile="target/checkstyle/checkstyle_errors.xml"/>
</checkstyle>
<mkdir dir="target/reports/checkstyle"/>
- svn commit: r1341 - in development/main/magic/spells/checkstyle/etc/deliverables: formats templates, mcconnell, 01/02/2005
Archive powered by MHonArc 2.6.24.