Changeset 33591 in osm


Ignore:
Timestamp:
2017-09-10T23:40:24+02:00 (7 years ago)
Author:
donvip
Message:

switch to spotbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r33491 r33591  
    1818    <property name="checkstyle.jar"         location="../00_core_tools/checkstyle/checkstyle-all.jar"/>
    1919    <property name="checkstyle-build.dir"   location="../00_core_tools/checkstyle/build"/>
    20     <property name="findbugs-ant.jar"       location="../00_core_tools/findbugs/findbugs-ant.jar"/>
    21     <property name="annotations.jar"        location="../00_core_tools/findbugs/annotations.jar"/>
     20    <property name="spotbugs-ant.jar"       location="../00_core_tools/spotbugs/spotbugs-ant.jar"/>
     21    <property name="annotations.jar"        location="../00_core_tools/spotbugs/spotbugs-annotations.jar"/>
    2222    <property name="plugin.build.dir"       location="build"/>
    2323    <property name="plugin.test.dir"        location="test"/>
     
    548548    </target>
    549549
    550     <target name="findbugs" depends="dist">
    551         <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs-ant.jar}"/>
    552         <path id="findbugs-classpath">
    553             <fileset dir="../00_core_tools/findbugs/">
     550    <target name="spotbugs" depends="dist">
     551        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${spotbugs-ant.jar}"/>
     552        <path id="spotbugs-classpath">
     553            <fileset dir="../00_core_tools/spotbugs/">
    554554                <include name="*.jar"/>
    555555            </fileset>
    556556        </path>
    557         <property name="findbugs-classpath" refid="findbugs-classpath"/>
    558         <findbugs output="xml"
    559                 outputFile="findbugs-josm-${ant.project.name}.xml"
    560                 classpath="${findbugs-classpath}"
     557        <property name="spotbugs-classpath" refid="spotbugs-classpath"/>
     558        <spotbugs output="xml"
     559                outputFile="spotbugs-josm-${ant.project.name}.xml"
     560                classpath="${spotbugs-classpath}"
    561561                pluginList=""
    562                 excludeFilter="../findbugs-filter.xml"
     562                excludeFilter="../spotbugs-filter.xml"
    563563                effort="default"
    564564                reportLevel="low"
     
    567567            <sourcePath path="${basedir}/src" />
    568568            <class location="${plugin.jar}" />
    569         </findbugs>
     569        </spotbugs>
    570570    </target>
    571571
Note: See TracChangeset for help on using the changeset viewer.