You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by to...@apache.org on 2003/07/07 15:57:13 UTC

cvs commit: jakarta-commons-sandbox/math checkstyle.xml project.properties

tobrien     2003/07/07 06:57:13

  Modified:    math     project.properties
  Added:       math     checkstyle.xml
  Log:
  This XML configuration file will work with the most recent Maven plugin for Checkstyle, just change the project.properties to point to this XML file.
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-commons-sandbox/math/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/math/project.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.properties	4 Jun 2003 12:43:14 -0000	1.3
  +++ project.properties	7 Jul 2003 13:57:13 -0000	1.4
  @@ -2,7 +2,7 @@
   # Properties that override Maven build defaults
   ##
   
  -maven.checkstyle.properties=${basedir}/checkstyle.properties
  +maven.checkstyle.properties=${basedir}/checkstyle.xml
   maven.test.failure = false
   maven.junit.fork=true
   #maven.linkcheck.enable=true 
  
  
  
  1.1                  jakarta-commons-sandbox/math/checkstyle.xml
  
  Index: checkstyle.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <!DOCTYPE module PUBLIC
      "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
      "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
  
  <!-- commons math customization of default Checkstyle behavior -->
  <module name="Checker">
    <property name="basedir" value="src/checkstyle"/>
    <property name="localeLanguage" value="en"/>
  
    <module name="TreeWalker">
      <!-- Verify that EVERY source file has the appropriate license -->
      <module name="Header">
        <property name="headerFile" value="LICENSE.txt"/>
      </module>
  
      <module name="OperatorWrap">
        <property name="option" value="eol"/>
      </module>
    </module>
  </module>
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org