Changeset 16011 in josm for trunk


Ignore:
Timestamp:
2020-03-03T12:42:37+01:00 (5 years ago)
Author:
simon04
Message:

see #16860, see #18140 - Restrict SpotBugs to org/openstreetmap/josm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16007 r16011  
    978978    </target>
    979979
    980     <target name="spotbugs" depends="dist">
     980    <target name="spotbugs" depends="compile">
    981981        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${spotbugs.dir}/spotbugs-ant.jar"/>
    982982        <path id="spotbugs-classpath">
     
    994994                reportLevel="low"
    995995                >
    996             <classpath>
    997                 <path refid="spotbugs-classpath"/>
    998                 <path refid="compile.path"/>
    999             </classpath>
    1000             <sourcePath path="${base.dir}/src" />
    1001             <class location="${dist.jar}" />
     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>
    10021000        </spotbugs>
    10031001    </target>
Note: See TracChangeset for help on using the changeset viewer.