Changeset 16020 in josm for trunk


Ignore:
Timestamp:
2020-03-03T23:55:12+01:00 (4 years ago)
Author:
Don-vip
Message:

see #16860, see #18140 - better way to restrict SpotBugs analysis scope (without error about missing classes)

See https://github.com/spotbugs/spotbugs/blob/4.0.0/spotbugs-ant/src/main/java/edu/umd/cs/findbugs/anttask/FindBugsTask.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16018 r16020  
    978978    </target>
    979979
    980     <target name="spotbugs" depends="compile">
     980    <target name="spotbugs" depends="dist">
    981981        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${spotbugs.dir}/spotbugs-ant.jar"/>
    982982        <path id="spotbugs-classpath">
     
    991991                pluginList=""
    992992                excludeFilter="${spotbugs.dir}/josm-filter.xml"
     993                    onlyAnalyze="org.openstreetmap.josm.-"
    993994                effort="max"
    994995                reportLevel="low"
    995996                >
    996             <fileset dir="${build.dir}">
    997                 <include name="org/openstreetmap/josm/**/*.class"/>
    998                 <exclude name="org/openstreetmap/josm/gui/mappaint/mapcss/parsergen/*.class"/>
    999             </fileset>
     997                <class location="${dist.jar}" />
    1000998        </spotbugs>
    1001999    </target>
Note: See TracChangeset for help on using the changeset viewer.