Ignore:
Timestamp:
2022-01-27T17:48:29+01:00 (4 years ago)
Author:
taylor.smock
Message:

geotools: run ant merge-geotools-services

This should fix the services issues seen in #21803.

This also updates geotools to 26.2.

File:
1 edited

Legend:

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

    r35901 r35903  
    2828    </fileset>
    2929
    30     <target name="merge-geotools-services">
     30    <target name="merge-geotools-services" depends="fetch_dependencies">
    3131        <taskdef resource="org/pescuma/mergeservices/antlib.xml" classpath="tools/merge-services.jar" />
    3232        <delete dir="jar/META-INF/services"/>
     
    3838            </fileset>
    3939        </merge-services>
     40        <echo>Check the updated files in jar/META-INF/services for lines where two
     41        services got merged. Example:
     42        org.geotools.coverage.util.FilterFunction_isCoverageorg.geotools.filter.AreaFunction
     43        </echo>
    4044    </target>
    4145
     
    5862                <include name="META-INF/MANIFEST.MF"/>
    5963                <include name="META-INF/javax.media.jai.registryFile.jai"/>
    60                 <!-- Required by the JSR 385 implementation (indriya). See JOSM #21803 -->
    61                 <include name="META-INF/services/tech.units.indriya.spi.NumberSystem"/>
    62                 <include name="META-INF/services/org.geotools.*"/>
    63                 <include name="META-INF/services/org.opengis.*"/>
    6464            </zipfileset>
    6565        </jar>
     
    7777                     see https://stackoverflow.com/a/18495658/2257172 -->
    7878            <attribute name="Specification-Title" value="JOSM GeoTools plugin"/>
    79             <attribute name="Specification-Version" value="22.0"/>
     79            <attribute name="Specification-Version" value="${gt.version}"/>
    8080            <attribute name="Specification-Vendor" value="JOSM developers" />
    8181            <attribute name="Implementation-Title" value="org.openstreetmap.josm.plugins.geotools" />
    82             <attribute name="Implementation-Version" value="22.0" />
     82            <attribute name="Implementation-Version" value="${gt.version}" />
    8383            <attribute name="Implementation-Vendor" value="JOSM developers"/>
    8484        </manifest>
Note: See TracChangeset for help on using the changeset viewer.