Changeset 16243 in josm


Ignore:
Timestamp:
2020-04-06T09:47:17+02:00 (5 years ago)
Author:
simon04
Message:

see #16860 - Apache Ivy: tune logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16231 r16243  
    274274    </target>
    275275    <target name="javacc" depends="init" unless="javacc.notRequired">
    276         <ivy:cachepath file="${tools.ivy}" pathid="javacc.classpath" conf="javacc"/>
     276        <ivy:cachepath log="download-only" file="${tools.ivy}" pathid="javacc.classpath" conf="javacc"/>
    277277        <mkdir dir="${mapcss.dir}/parsergen"/>
    278278        <java classname="javacc" fork="true" failonerror="true">
     
    395395            <pathelement path="${resources.dir}"/>
    396396        </path>
    397         <ivy:retrieve pattern="${test.dir}/lib/[artifact].[ext]" conf="jmockit"/>
    398         <ivy:retrieve pattern="${tools.dir}/[artifact].[ext]" conf="commonslang"/>
    399         <ivy:retrieve pattern="${tools.dir}/[conf].[ext]" conf="jacocoant"/>
     397        <ivy:retrieve log="download-only" pattern="${test.dir}/lib/[artifact].[ext]" conf="jmockit"/>
     398        <ivy:retrieve log="download-only" pattern="${tools.dir}/[artifact].[ext]" conf="commonslang"/>
     399        <ivy:retrieve log="download-only" pattern="${tools.dir}/[conf].[ext]" conf="jacocoant"/>
    400400        <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" classpath="${tools.dir}/jacocoant.jar" />
    401401    </target>
     
    568568    </target>
    569569    <target name="dist-optimized" depends="dist" unless="isJava13">
    570         <ivy:cachepath file="${tools.ivy}" pathid="proguard.classpath" conf="proguard"/>
     570        <ivy:cachepath log="download-only" file="${tools.ivy}" pathid="proguard.classpath" conf="proguard"/>
    571571        <taskdef resource="proguard/ant/task.properties" classpathref="proguard.classpath"/>
    572572        <proguard>
     
    879879
    880880    <target name="checkstyle-compile" depends="init-properties">
    881         <ivy:cachepath file="${tools.ivy}" pathid="checkstyle.classpath" conf="checkstyle"/>
     881        <ivy:cachepath log="download-only" file="${tools.ivy}" pathid="checkstyle.classpath" conf="checkstyle"/>
    882882        <mkdir dir="${checkstyle-build.dir}"/>
    883883        <javac sourcepath="" srcdir="${checkstyle.dir}/src" failonerror="true"
     
    913913
    914914    <target name="spotbugs" depends="dist">
    915         <ivy:cachepath file="${tools.ivy}" pathid="spotbugs.classpath" conf="spotbugs"/>
     915        <ivy:cachepath log="download-only" file="${tools.ivy}" pathid="spotbugs.classpath" conf="spotbugs"/>
    916916        <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpathref="spotbugs.classpath"/>
    917917        <spotbugs output="xml"
     
    929929
    930930    <target name="pmd" depends="init-properties">
    931         <ivy:cachepath file="${tools.ivy}" pathid="pmd.classpath" conf="pmd"/>
     931        <ivy:cachepath log="download-only" file="${tools.ivy}" pathid="pmd.classpath" conf="pmd"/>
    932932        <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/>
    933933        <pmd shortFilenames="true" cacheLocation="${pmd.dir}/cache" encoding="UTF-8">
     
    10491049    <target name="resolve" depends="init-ivy" unless="resolve.notRequired" description="Resolve Ivy dependencies">
    10501050        <ivy:settings file="${base.dir}/ivysettings.xml"/>
    1051         <ivy:resolve file="${base.dir}/ivy.xml" keep="true"/>
    1052         <ivy:report todir="${tools.dir}/ivy-report" graph="false"/>
    1053         <ivy:cachepath pathid="compile.path" conf="compile"/>
    1054         <ivy:cachepath pathid="runtime.path" conf="runtime"/>
    1055         <ivy:cachefileset setid="runtime.fileset" conf="runtime"/>
    1056         <ivy:cachepath pathid="test.path" conf="test"/>
     1051        <ivy:resolve log="download-only" file="${base.dir}/ivy.xml" keep="true"/>
     1052        <ivy:cachepath log="download-only" pathid="compile.path" conf="compile"/>
     1053        <ivy:cachepath log="download-only" pathid="runtime.path" conf="runtime"/>
     1054        <ivy:cachefileset log="download-only" setid="runtime.fileset" conf="runtime"/>
     1055        <ivy:cachepath log="download-only" pathid="test.path" conf="test"/>
    10571056    </target>
    10581057    <target name="extract-libraries" depends="resolve" description="extract libraries to build dir">
     
    11301129    </target>
    11311130    <target name="sources" description="Generates jar file of JOSM source files and its dependencies" depends="init,epsg,resolve">
    1132         <ivy:cachefileset setid="sources.fileset" conf="sources"/>
     1131        <ivy:cachefileset log="download-only" setid="sources.fileset" conf="sources"/>
    11331132        <jar destfile="${dist-sources.jar}" level="${clevel}">
    11341133            <zipgroupfileset refid="sources.fileset"/>
     
    11471146        <ivy:retrieve pattern="${lib.dir}/tools/[artifact]-[type].[ext]" conf="javacc,checkstyle,pmd,spotbugs" file="${tools.ivy}"/>
    11481147    </target>
     1148    <target name="ivy-report" description="Generates Ivy reports of dependency resolving" depends="resolve">
     1149        <ivy:report todir="${tools.dir}/ivy-report" graph="false"/>
     1150    </target>
    11491151    <target name="api-dependency-tree" description="Displays Ivy dependency tree for JOSM API" depends="resolve">
    11501152        <ivy:dependencytree conf="api"/>
Note: See TracChangeset for help on using the changeset viewer.