Changeset 35901 in osm for applications/editors/josm


Ignore:
Timestamp:
2022-01-26T19:16:28+01:00 (3 years ago)
Author:
taylor.smock
Message:

Fix #21803: NumberSystem tech.units.indriya.function.DefaultNumberSystem not found

This is caused by excluding all META-INF files from the library jar files.
This patch explicitely keeps META-INF/services files from the following organizations:

  • tech.units.indriya.spi.NumberSystem (this is what fixes #21803)
  • org.geotools
  • org.opengis
File:
1 edited

Legend:

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

    r35898 r35901  
    5858                <include name="META-INF/MANIFEST.MF"/>
    5959                <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.*"/>
    6064            </zipfileset>
    6165        </jar>
Note: See TracChangeset for help on using the changeset viewer.