Changeset 36283 in osm


Ignore:
Timestamp:
2024-06-17T23:05:51+02:00 (5 months ago)
Author:
taylor.smock
Message:

See #17858: We no longer support Java 8 so we can get rid of Java 11- compilation code

Note: The minimum version for any plugin updated to Java 11+ should be 19044 OR
they should add plugin.minimum.java.version set to 11. The former is
preferable since older versions of JOSM running on Java 8 may attempt to download
newer plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build.xml

    r36232 r36283  
    1818                                            pmtiles/build.xml
    1919                                            todo/build.xml"/>
    20     <property name="java11_plugins" value="geotools/build.xml
    21                                            cadastre-fr/build.xml
    22                                            opendata/build.xml
    23                                            ImportImagePlugin/build.xml
    24                                            OsmInspectorPlugin/build.xml" />
    2520    <property name="ordered_plugins" value="jackson/build.xml
    2621                                            jaxb/build.xml
     
    3227                                            apache-commons/build.xml
    3328                                            apache-http/build.xml
     29                                            geotools/build.xml
     30                                            Mapillary/build.xml
    3431                                            austriaaddresshelper/build.xml"/>
    3532    <property name="javafx_plugins" value="javafx/build.xml"/>
    36 
    37     <!-- We are dropping Java 8 support in January 2024 - these have issues compiling with Java 8, but not with Java 11+ targeting Java 8 -->
    38     <!-- Note: Mapillary was in ordered_plugins -->
    39     <property name="borked_java8_compilation" value="Mapillary/build.xml
    40                                                      Dxf-Import/build.xml
    41                                                      photo_geotagging/build.xml" />
    4233    <macrodef name="iterate">
    4334        <attribute name="target"/>
     
    4536            <subant target="@{target}" inheritall="true">
    4637                <filelist dir="." files="${ordered_plugins}"/>
    47                 <filelist dir="." files="${borked_java8_compilation}" if:set="isJava11"/>
    4838                <!-- Build JavaFX plugins only with Java 11+ -->
    4939                <filelist dir="." files="${javafx_plugins}" if:set="isJava11"/>
    50                 <filelist dir="." files="${java11_plugins}" if:set="isJava11"/>
    5140                <filelist dir="." files="${java17_plugins}" if:set="isJava17"/>
    5241                <filelist dir="." files="${java21_plugins}" if:set="isJava21"/>
    53                 <fileset  dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${borked_java8_compilation} ${javafx_plugins} ${ordered_plugins} ${java11_plugins} ${java17_plugins} ${java21_plugins} "/>
     42                <fileset  dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${javafx_plugins} ${ordered_plugins} ${java17_plugins} ${java21_plugins} "/>
    5443            </subant>
    5544        </sequential>
Note: See TracChangeset for help on using the changeset viewer.