ICU-21965 fix utilities.jar module name

com.ibm.icu.utilities - otherwise the automatic module name is unusable
This commit is contained in:
Steven R. Loomis 2022-03-25 14:50:29 -05:00
parent ed1d9efc15
commit 2612b8b55a
2 changed files with 26 additions and 0 deletions

View file

@ -1945,8 +1945,17 @@
</javac>
<mkdir dir="${cldr.util.out.dir}/lib"/>
<copy file="tools/build/manifest-utilities.stub" todir="${out.dir}">
<filterset>
<filter token="SPECVERSION" value="${jar.spec.version}"/>
<filter token="IMPLVERSION" value="${jar.impl.version}"/>
<filter token="COPYRIGHT" value="${jar.copyright.info}"/>
<filter token="EXECENV" value="${jar.exec.env}"/>
</filterset>
</copy>
<jar jarfile="${cldr.util.out.dir}/lib/utilities.jar"
compress="true"
manifest="${out.dir}/manifest-utilities.stub"
basedir="${cldr.util.out.dir}/bin">
<include name="com/ibm/icu/dev/util/*.class"/>
<include name="com/ibm/icu/dev/tool/UOption*.class"/>

View file

@ -0,0 +1,17 @@
Manifest-Version: 1.0
Specification-Title: International Components for Unicode for Java Utilities
Specification-Version: @SPECVERSION@
Specification-Vendor: Unicode, Inc.
Implementation-Title: International Components for Unicode for Java Utilities
Implementation-Version: @IMPLVERSION@
Implementation-Vendor: Unicode, Inc.
Implementation-Vendor-Id: org.unicode
Bundle-ManifestVersion: 2
Bundle-Name: ICU4JUtilities
Bundle-Description: International Components for Unicode for Java Utilities
Bundle-SymbolicName: com.ibm.icu.utilities
Bundle-Version: @IMPLVERSION@
Bundle-Vendor: Unicode, Inc.
Bundle-Copyright: @COPYRIGHT@
Bundle-RequiredExecutionEnvironment: @EXECENV@
Automatic-Module-Name: com.ibm.icu.utilities