Changeset 16166 in josm for trunk/build.xml


Ignore:
Timestamp:
2020-03-17T21:38:32+01:00 (6 years ago)
Author:
simon04
Message:

see #16860 - Resolve SpotBugs using Apache Ivy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16165 r16166  
    948948
    949949    <target name="spotbugs" depends="dist">
    950         <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${spotbugs.dir}/spotbugs-ant.jar"/>
    951         <path id="spotbugs-classpath">
    952             <fileset dir="${spotbugs.dir}">
    953                 <include name="*.jar"/>
    954             </fileset>
    955         </path>
    956         <property name="spotbugs-classpath" refid="spotbugs-classpath"/>
     950        <ivy:cachepath pathid="spotbugs.classpath" conf="spotbugs"/>
     951        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${toString:spotbugs.classpath}"/>
    957952        <spotbugs output="xml"
    958953                outputFile="spotbugs-josm.xml"
    959                 classpath="${spotbugs-classpath}"
     954                classpath="${toString:spotbugs.classpath}"
    960955                pluginList=""
    961956                excludeFilter="${spotbugs.dir}/josm-filter.xml"
Note: See TracChangeset for help on using the changeset viewer.