Changeset 16168 in josm for trunk/build.xml
- Timestamp:
- 2020-03-17T22:26:12+01:00 (6 years ago)
- File:
-
- 1 edited
-
trunk/build.xml (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r16167 r16168 20 20 <property name="lib.dir" location="${base.dir}/lib"/> 21 21 <property name="tools.dir" location="${base.dir}/tools"/> 22 <property name="tools.ivy" location="${tools.dir}/ivy.xml"/> 22 23 <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${tools.dir}/ivy/ivy.jar"/> 23 24 </target> … … 276 277 </target> 277 278 <target name="javacc" depends="init" unless="javacc.notRequired"> 279 <ivy:cachepath file="${tools.ivy}" pathid="javacc.classpath" conf="javacc"/> 278 280 <mkdir dir="${mapcss.dir}/parsergen"/> 279 281 <java classname="javacc" fork="true" failonerror="true"> 280 <classpath path="${javacc.home}/javacc.jar"/>282 <classpath refid="javacc.classpath"/> 281 283 <arg value="-DEBUG_PARSER=false"/> 282 284 <arg value="-DEBUG_TOKEN_MANAGER=false"/> … … 366 368 <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 --> 367 369 <compilerarg value="-XDignore.symbol.file"/> 368 <compilerarg value="-Xplugin:ErrorProne -Xep:ReferenceEquality:OFF -Xep:ImmutableEnumChecker:OFF -Xep:FutureReturnValueIgnored:OFF -Xep:FloatingPointLiteralPrecision:OFF -Xep:ShortCircuitBoolean:OFF -Xep:StringSplitter:OFF -Xep:JdkObsolete:OFF -Xep:UnnecessaryParentheses:OFF -Xep:EqualsGetClass:OFF -Xep:ThreadPriorityCheck:OFF -Xep:UndefinedEquals:OFF -Xep:MixedMutabilityReturnType:OFF -Xep:OverrideThrowableToString:OFF -Xep:JavaTimeDefaultTimeZone:OFF -Xep:UnusedVariable:OFF -Xep:EqualsUsingHashCode:OFF -Xep:BadImport:OFF -Xep:UnnecessaryLambda:OFF -Xep:AnnotateFormatMethod:OFF -Xep:MutablePublicArray:OFF"/> 370 <compilerarg value="-Xplugin:ErrorProne -XepExcludedPaths:.*/parsergen/.* -Xep:ReferenceEquality:OFF -Xep:ImmutableEnumChecker:OFF -Xep:FutureReturnValueIgnored:OFF -Xep:FloatingPointLiteralPrecision:OFF -Xep:ShortCircuitBoolean:OFF -Xep:StringSplitter:OFF -Xep:JdkObsolete:OFF -Xep:UnnecessaryParentheses:OFF -Xep:EqualsGetClass:OFF -Xep:ThreadPriorityCheck:OFF -Xep:UndefinedEquals:OFF -Xep:MixedMutabilityReturnType:OFF -Xep:OverrideThrowableToString:OFF -Xep:JavaTimeDefaultTimeZone:OFF -Xep:UnusedVariable:OFF -Xep:EqualsUsingHashCode:OFF -Xep:BadImport:OFF -Xep:UnnecessaryLambda:OFF -Xep:AnnotateFormatMethod:OFF -Xep:MutablePublicArray:OFF"/> 369 371 <compilerarg line="-Xmaxwarns 1000"/> 370 372 <classpath> … … 948 950 949 951 <target name="spotbugs" depends="dist"> 950 <ivy:cachepath file="${tools. dir}/ivy.xml" pathid="spotbugs.classpath" conf="spotbugs"/>952 <ivy:cachepath file="${tools.ivy}" pathid="spotbugs.classpath" conf="spotbugs"/> 951 953 <taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${toString:spotbugs.classpath}"/> 952 954 <spotbugs output="xml" … … 964 966 965 967 <target name="pmd" depends="init-properties"> 966 <ivy:cachepath file="${tools. dir}/ivy.xml" pathid="pmd.classpath" conf="pmd"/>968 <ivy:cachepath file="${tools.ivy}" pathid="pmd.classpath" conf="pmd"/> 967 969 <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpath="${toString:pmd.classpath}"/> 968 970 <pmd shortFilenames="true" cacheLocation="${pmd.dir}/cache" encoding="UTF-8"> … … 1175 1177 <ivy:retrieve pattern="${lib.dir}/runtime/[artifact]-[type].[ext]" conf="runtime"/> 1176 1178 <ivy:retrieve pattern="${lib.dir}/sources/[artifact]-[type].[ext]" conf="sources"/> 1179 <ivy:retrieve pattern="${lib.dir}/tools/[artifact]-[type].[ext]" conf="javacc" file="${tools.ivy}"/> 1177 1180 </target> 1178 1181 </project>
Note:
See TracChangeset
for help on using the changeset viewer.
