Changeset 12801 in josm


Ignore:
Timestamp:
2017-09-09T15:02:42+02:00 (7 years ago)
Author:
Don-vip
Message:

FindBugs is dead. Long live SpotBugs!

Location:
trunk
Files:
9 added
12 deleted
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        44build
        55plugin-check
        6 findbugs-josm.xml
         6*-josm.xml
        77javadoc
        8 checkstyle-josm.xml
        98taginfo_*.json
        109taginfo-img
         
        1211junit*.properties
        1312foobar
        14 pmd-josm.xml
        1513imagery_*
         14validator-*
  • trunk/.classpath

    r12640 r12801  
    3131        <classpathentry kind="lib" path="test/lib/fest/debug-1.0.jar"/>
    3232        <classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/>
    33         <classpathentry kind="lib" path="tools/findbugs/annotations.jar"/>
     33        <classpathentry kind="lib" path="tools/spotbugs/spotbugs-annotations.jar"/>
    3434        <classpathentry kind="output" path="bin"/>
    3535</classpath>
  • trunk/.settings/edu.umd.cs.findbugs.core.prefs

    r10850 r12801  
    203203detector_threshold=3
    204204effort=max
    205 excludefilter0=tools/findbugs/josm-filter.xml|true
     205excludefilter0=tools/spotbugs/josm-filter.xml|true
    206206filter_settings=Low|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false|20
    207207filter_settings_neg=NOISE|
  • trunk/README

    r12626 r12801  
    124124    - commons-cli-1.3.1.jar dependency of Groovy Ant task
    125125    - error_prone_ant.jar   used to detect code errors during compilation
    126     - findbugs/             libs and config files for findbugs (automatically detects common bugs and potential
     126    - spotbugs/             libs and config files for spotbugs (automatically detects common bugs and potential
    127127                            problems in source code); can be launched as an ant target in build.xml
    128128    - groovy-all.jar        used for some unit tests and various scripts
  • trunk/build.xml

    r12715 r12801  
    4848            <pathelement path="${dist.jar}"/>
    4949            <pathelement path="${groovy.jar}"/>
    50             <pathelement path="tools/findbugs/annotations.jar"/>
     50            <pathelement path="tools/spotbugs/spotbugs-annotations.jar"/>
    5151        </path>
    5252        <path id="pmd.classpath">
     
    714714        <sequential>
    715715            <echo message="Generating Taginfo for type @{type} to @{output}"/>
    716             <groovy src="${taginfoextract}" classpath="${dist.jar}:tools/findbugs/annotations.jar">
     716            <groovy src="${taginfoextract}" classpath="${dist.jar}:tools/spotbugs/spotbugs-annotations.jar">
    717717                <arg value="-t"/>
    718718                <arg value="@{type}"/>
     
    790790    </target>
    791791
    792     <target name="findbugs" depends="dist">
    793         <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="tools/findbugs/findbugs-ant.jar"/>
    794         <path id="findbugs-classpath">
    795             <fileset dir="${base.dir}/tools/findbugs/">
     792    <target name="spotbugs" depends="dist">
     793        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="tools/spotbugs/spotbugs-ant.jar"/>
     794        <path id="spotbugs-classpath">
     795            <fileset dir="${base.dir}/tools/spotbugs/">
    796796                <include name="*.jar"/>
    797797            </fileset>
    798798        </path>
    799         <property name="findbugs-classpath" refid="findbugs-classpath"/>
    800         <findbugs output="xml"
    801                 outputFile="findbugs-josm.xml"
    802                 classpath="${findbugs-classpath}"
     799        <property name="spotbugs-classpath" refid="spotbugs-classpath"/>
     800        <spotbugs output="xml"
     801                outputFile="spotbugs-josm.xml"
     802                classpath="${spotbugs-classpath}"
    803803                pluginList=""
    804                 excludeFilter="tools/findbugs/josm-filter.xml"
     804                excludeFilter="tools/spotbugs/josm-filter.xml"
    805805                effort="max"
    806806                reportLevel="low"
     
    808808            <sourcePath path="${base.dir}/src" />
    809809            <class location="${dist.jar}" />
    810         </findbugs>
     810        </spotbugs>
    811811    </target>
    812812
  • trunk/netbeans/nbproject/project.properties

    r12640 r12801  
    4343file.reference.fest-swing-1.1.jar=../test/lib/fest/fest-swing-1.1.jar
    4444file.reference.fest-util-1.0.jar=../test/lib/fest/fest-util-1.0.jar
    45 file.reference.findbugs.jar=../tools/findbugs/findbugs.jar
     45file.reference.spotbugs.jar=../tools/spotbugs/spotbugs.jar
    4646file.reference.guava-21.0.jar=../test/lib/reflections/guava-21.0.jar
    4747file.reference.hamcrest-core-1.3.jar=../test/lib/junit/hamcrest-core-1.3.jar
     
    9393    ${file.reference.system-rules-1.16.1.jar}:\
    9494    ${file.reference.wiremock-standalone-2.7.1.jar}:\
    95     ${file.reference.findbugs.jar}:\
     95    ${file.reference.spotbugs.jar}:\
    9696    ${file.reference.commons-testing-2.1.0.jar}
    9797javac.test.processorpath=\
Note: See TracChangeset for help on using the changeset viewer.