Changeset 16243 in josm
- Timestamp:
- 2020-04-06T09:47:17+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r16231 r16243 274 274 </target> 275 275 <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"/> 277 277 <mkdir dir="${mapcss.dir}/parsergen"/> 278 278 <java classname="javacc" fork="true" failonerror="true"> … … 395 395 <pathelement path="${resources.dir}"/> 396 396 </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"/> 400 400 <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" classpath="${tools.dir}/jacocoant.jar" /> 401 401 </target> … … 568 568 </target> 569 569 <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"/> 571 571 <taskdef resource="proguard/ant/task.properties" classpathref="proguard.classpath"/> 572 572 <proguard> … … 879 879 880 880 <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"/> 882 882 <mkdir dir="${checkstyle-build.dir}"/> 883 883 <javac sourcepath="" srcdir="${checkstyle.dir}/src" failonerror="true" … … 913 913 914 914 <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"/> 916 916 <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpathref="spotbugs.classpath"/> 917 917 <spotbugs output="xml" … … 929 929 930 930 <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"/> 932 932 <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> 933 933 <pmd shortFilenames="true" cacheLocation="${pmd.dir}/cache" encoding="UTF-8"> … … 1049 1049 <target name="resolve" depends="init-ivy" unless="resolve.notRequired" description="Resolve Ivy dependencies"> 1050 1050 <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"/> 1057 1056 </target> 1058 1057 <target name="extract-libraries" depends="resolve" description="extract libraries to build dir"> … … 1130 1129 </target> 1131 1130 <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"/> 1133 1132 <jar destfile="${dist-sources.jar}" level="${clevel}"> 1134 1133 <zipgroupfileset refid="sources.fileset"/> … … 1147 1146 <ivy:retrieve pattern="${lib.dir}/tools/[artifact]-[type].[ext]" conf="javacc,checkstyle,pmd,spotbugs" file="${tools.ivy}"/> 1148 1147 </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> 1149 1151 <target name="api-dependency-tree" description="Displays Ivy dependency tree for JOSM API" depends="resolve"> 1150 1152 <ivy:dependencytree conf="api"/>
Note:
See TracChangeset
for help on using the changeset viewer.