Changeset 8508 in josm


Ignore:
Timestamp:
2015-06-20T14:34:08+02:00 (10 years ago)
Author:
Don-vip
Message:

update jacoco 0.7.5 + add checkstyle 6.7

Location:
trunk
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        66findbugs-josm.xml
        77javadoc
         8checkstyle-josm.xml
  • trunk/.project

    r8417 r8508  
    2626                        </arguments>
    2727                </buildCommand>
     28                <buildCommand>
     29                        <name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
     30                        <arguments>
     31                        </arguments>
     32                </buildCommand>
    2833        </buildSpec>
    2934        <natures>
     
    3237                <nature>org.sonar.ide.eclipse.core.sonarNature</nature>
    3338                <nature>sf.eclipse.javacc.javaccnature</nature>
     39                <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
    3440        </natures>
    3541</projectDescription>
  • trunk/README

    r8156 r8508  
    118118                            used to build and check code signatures to ensure plugins binary compatibility
    119119    - appbundler-1.0ea.jar  used to build Mac OS X package for Oracle Java 7
     120    - checkstyle/           libs and config files for checkstyle (automatically detects code style
     121                            problems in source code); can be launched as an ant target in build.xml
    120122    - findbugs/             libs and config files for findbugs (automatically detects common bugs and potential
    121123                            problems in source code); can be launched as an ant target in build.xml
  • trunk/build.xml

    r8173 r8508  
    572572    </target>
    573573
     574    <target name="checkstyle">
     575        <taskdef resource="checkstyletask.properties" classpath="tools/checkstyle/checkstyle-6.7-all.jar"/>
     576        <checkstyle config="tools/checkstyle/josm_checks.xml">
     577            <fileset dir="${basedir}/src/org/openstreetmap/josm" includes="**/*.java"/>
     578            <fileset dir="${basedir}/test" includes="**/*.java"/>
     579            <formatter type="xml" toFile="checkstyle-josm.xml"/>
     580        </checkstyle>
     581    </target>
     582
    574583    <target name="findbugs" depends="dist">
    575584        <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="tools/findbugs/findbugs-ant.jar"/>
Note: See TracChangeset for help on using the changeset viewer.