Changeset 35377 in osm for applications/editors/josm


Ignore:
Timestamp:
2020-03-17T21:39:35+01:00 (5 years ago)
Author:
simon04
Message:

see #josm16860 - Resolve SpotBugs using Apache Ivy

File:
1 edited

Legend:

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

    r35374 r35377  
    2626    <property name="checkstyle-build.dir"   location="../00_core_tools/checkstyle/build"/>
    2727    <property name="jformatstring.jar"      location="../00_core_tools/spotbugs/jFormatString-3.0.0.jar"/>
    28     <property name="spotbugs-ant.jar"       location="../00_core_tools/spotbugs/spotbugs-ant.jar"/>
    2928    <property name="annotations.jar"        location="../00_core_tools/spotbugs/spotbugs-annotations.jar"/>
    3029    <property name="plugin.tools.dir"       location="../00_tools"/>
     
    664663
    665664    <target name="spotbugs" depends="compile">
    666         <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${spotbugs-ant.jar}"/>
    667         <path id="spotbugs-classpath">
    668             <fileset dir="../00_core_tools/spotbugs/">
    669                 <include name="*.jar"/>
    670             </fileset>
    671         </path>
    672         <property name="spotbugs-classpath" refid="spotbugs-classpath"/>
     665        <ivy:cachepath file="../00_core_tools/ivy.xml" pathid="spotbugs.classpath" conf="spotbugs"/>
     666        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${toString:spotbugs.classpath}"/>
    673667        <spotbugs output="xml"
    674668                outputFile="spotbugs-josm-${ant.project.name}.xml"
    675                 classpath="${spotbugs-classpath}"
     669                classpath="${toString:spotbugs.classpath}"
    676670                pluginList=""
    677671                excludeFilter="../spotbugs-filter.xml"
Note: See TracChangeset for help on using the changeset viewer.