Changeset 16169 in josm for trunk/build.xml


Ignore:
Timestamp:
2020-03-17T22:41:28+01:00 (4 years ago)
Author:
simon04
Message:

see #16860 - Resolve ProGuard using Apache Ivy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16168 r16169  
    609609    </target>
    610610    <target name="dist-optimized" depends="dist" unless="isJava11">
    611         <taskdef resource="proguard/ant/task.properties" classpath="${tools.dir}/proguard.jar"/>
     611        <ivy:cachepath file="${tools.ivy}" pathid="proguard.classpath" conf="proguard"/>
     612        <taskdef resource="proguard/ant/task.properties" classpathref="proguard.classpath"/>
    612613        <proguard>
    613614        -injars ${dist.jar}
     
    951952    <target name="spotbugs" depends="dist">
    952953        <ivy:cachepath file="${tools.ivy}" pathid="spotbugs.classpath" conf="spotbugs"/>
    953         <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${toString:spotbugs.classpath}"/>
     954        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpathref="spotbugs.classpath"/>
    954955        <spotbugs output="xml"
    955956                outputFile="spotbugs-josm.xml"
     
    967968    <target name="pmd" depends="init-properties">
    968969        <ivy:cachepath file="${tools.ivy}" pathid="pmd.classpath" conf="pmd"/>
    969         <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpath="${toString:pmd.classpath}"/>
     970        <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/>
    970971        <pmd shortFilenames="true" cacheLocation="${pmd.dir}/cache" encoding="UTF-8">
    971972            <sourceLanguage name="java" version="${java.lang.version}" />
Note: See TracChangeset for help on using the changeset viewer.