Changeset 18072 in josm


Ignore:
Timestamp:
2021-07-19T13:25:26+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #16868 - build cleanup

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r18055 r18072  
    198198        </java>
    199199    </target>
    200     <target name="compile-cots" depends="init" description="Compile third-party dependencies not retrieved with Ivy">
    201         <!-- COTS -->
    202         <javac srcdir="${src.dir}" includes="com/kitfox/**" excludes="**/package-info.java" nowarn="on" encoding="iso-8859-1"
    203             destdir="${build.dir}" release="${java.lang.version}" debug="on" includeAntRuntime="false">
    204             <!-- get rid of "internal proprietary API" warning -->
    205             <compilerarg value="-XDignore.symbol.file"/>
    206             <classpath>
    207                 <path refid="runtime.path"/>
    208             </classpath>
    209         </javac>
    210     </target>
    211     <target name="compile" depends="init,javacc,compile-cots" unless="compile.notRequired" description="Compile JOSM">
     200    <target name="compile" depends="init,javacc" unless="compile.notRequired" description="Compile JOSM">
    212201        <ivy:cachepath log="download-only" file="${tools.ivy}" pathid="errorprone.classpath" conf="errorprone"/>
    213202        <ivy:cachepath log="download-only" file="${tools.ivy}" pathid="errorprone_javac.classpath" conf="errorprone_javac"/>
     
    966955            <fileset refid="runtime.fileset" />
    967956        </copy>
    968         <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/svgSalamander.jar" includes="com/kitfox/**/*.class"/>
    969         <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/oauth-signpost.jar" includes="oauth/**/*.class"/>
    970         <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/commons-jcs.jar" includes="org/apache/commons/jcs3/**/*.class"/>
    971         <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/jmapviewer.jar" includes="org/openstreetmap/gui/**/*.class"/>
    972957        <exec executable="jdeps" dir="${modules.dir}">
    973958            <arg line="-f 'java.*|org.xml.*|org.w3c.*|sun.*|com.sun.*|com.google.*|org.tukaani.*'"/>
     
    10421027                <exclude name="com/drew/metadata/webp/**"/>
    10431028                <exclude name="com/drew/tools/**"/>
     1029                <exclude name="com/kitfox/svg/app/ant/**"/>
     1030                <exclude name="com/kitfox/svg/app/*Dialog*"/>
     1031                <exclude name="com/kitfox/svg/app/*Frame*"/>
     1032                <exclude name="com/kitfox/svg/app/*Player*"/>
     1033                <exclude name="com/kitfox/svg/app/*Viewer*"/>
    10441034                <exclude name="org/apache/commons/compress/PasswordRequiredException*"/>
    10451035                <exclude name="org/apache/commons/compress/archivers/**"/>
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java

    r18007 r18072  
    307307     */
    308308    public final void actOnDecisions(BiConsumer<String, MultiValueResolutionDecision> action) {
    309         decisions.forEach(action::accept);
     309        decisions.forEach(action);
    310310    }
    311311}
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r18070 r18072  
    670670     *     How to Prevent Your Java Collections From Wasting Memory</a>
    671671     */
     672    @SuppressWarnings("unchecked")
    672673    public static <K, V> Map<K, V> toUnmodifiableMap(Map<K, V> map) {
    673674        if (map == null || map.isEmpty()) {
  • trunk/tools/ivy.xml

    r18051 r18072  
    1919        <dependency org="com.puppycrawl.tools" name="checkstyle" rev="8.43" conf="checkstyle->default"/>
    2020        <!-- proguard->default -->
    21         <dependency org="com.guardsquare" name="proguard-ant" rev="7.1.0-beta3" conf="proguard->default"/>
     21        <dependency org="com.guardsquare" name="proguard-ant" rev="7.1.0" conf="proguard->default"/>
    2222        <!-- pmd->default -->
    2323        <dependency org="net.sourceforge.pmd" name="pmd-core" rev="6.20.0" conf="pmd->default"/>
Note: See TracChangeset for help on using the changeset viewer.