ICU-8017 Updated MANIFEST.MF in ICU runtime library jar files to make them OSGi bundles.
X-SVN-Rev: 28831
This commit is contained in:
parent
2b57a010d7
commit
8ec88d6f48
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -546,6 +546,7 @@ icu4j/main/tests/translit/.externalToolBuilders/copy-translit-test-data.launch -
|
||||
icu4j/main/tests/translit/.settings/org.eclipse.jdt.core.prefs -text
|
||||
icu4j/main/tests/translit/.settings/org.eclipse.jdt.ui.prefs -text
|
||||
icu4j/main/tests/translit/translit-tests-build.launch -text
|
||||
icu4j/manifest.stub -text
|
||||
icu4j/tools/build/icu4j28.api.gz -text
|
||||
icu4j/tools/build/icu4j30.api.gz -text
|
||||
icu4j/tools/build/icu4j32.api.gz -text
|
||||
|
@ -104,6 +104,8 @@
|
||||
<delete dir="${doc.dir}"/>
|
||||
<delete dir="${out.dir}"/>
|
||||
<delete dir="${module.dir}"/>
|
||||
|
||||
<ant dir="eclipse-build" target="clean" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<!-- meta build targets -->
|
||||
@ -316,11 +318,12 @@
|
||||
<mkdir dir="${out.dir}"/>
|
||||
|
||||
<!-- manifest -->
|
||||
<copy file="${icu4j.core.dir}/manifest.stub" todir="${out.dir}">
|
||||
<copy file="manifest.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>
|
||||
|
||||
@ -367,19 +370,9 @@
|
||||
|
||||
<target name="releaseSrcJars" description="Build ICU4J src jar files for distribution">
|
||||
<!-- icu4j src-jar -->
|
||||
<mkdir dir="${out.dir}"/>
|
||||
<copy file="${icu4j.core.dir}/manifest.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}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
|
||||
<mkdir dir="${release.dir}"/>
|
||||
<jar jarfile="${release.dir}/${icu4j-src.jar.versioned.file}"
|
||||
compress="true"
|
||||
manifest="${out.dir}/manifest.stub">
|
||||
compress="true">
|
||||
<fileset dir="${icu4j.core.dir}/${src.dir}" includes="**/*.java"/>
|
||||
<fileset dir="${icu4j.collate.dir}/${src.dir}" includes="**/*.java"/>
|
||||
<fileset dir="${icu4j.currdata.dir}/${src.dir}" includes="**/*.java"/>
|
||||
|
@ -1,11 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Name: com/ibm/icu/charset
|
||||
Specification-Title: ICU4J Charset
|
||||
Specification-Title: International Components for Unicode for Java (charset)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java Charset
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (charset)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J charset
|
||||
Bundle-Description: International Components for Unicode for Java (charset)
|
||||
Bundle-SymbolicName: com.ibm.icu.charset
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
|
@ -1,11 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Name: com/ibm/icu/text
|
||||
Specification-Title: ICU for Java Collation
|
||||
Specification-Title: International Components for Unicode for Java (collate)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java Collation
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (collate)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J collate
|
||||
Bundle-Description: International Components for Unicode for Java (collate)
|
||||
Bundle-SymbolicName: com.ibm.icu.collate
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
|
@ -1,12 +1,17 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: com.ibm.icu.util.VersionInfo
|
||||
|
||||
Name: com/ibm/icu/
|
||||
Specification-Title: ICU for Java
|
||||
Specification-Title: International Components for Unicode for Java (core)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (core)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J core
|
||||
Bundle-Description: International Components for Unicode for Java (core)
|
||||
Bundle-SymbolicName: com.ibm.icu.core
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
Main-Class: com.ibm.icu.util.VersionInfo
|
||||
|
@ -1,11 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Name: com/ibm/icu/impl
|
||||
Specification-Title: ICU for Java Currency Name Data
|
||||
Specification-Title: International Components for Unicode for Java (currency data)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java Currency Name Data
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (currency data)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J currency data
|
||||
Bundle-Description: International Components for Unicode for Java (currency data)
|
||||
Bundle-SymbolicName: com.ibm.icu.currdata
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
|
@ -1,11 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Name: com/ibm/icu/impl
|
||||
Specification-Title: ICU for Java Language Data
|
||||
Specification-Title: International Components for Unicode for Java (language data)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java Language Data
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (language data)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J language data
|
||||
Bundle-Description: International Components for Unicode for Java (language data)
|
||||
Bundle-SymbolicName: com.ibm.icu.langdata
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
|
@ -1,11 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Name: com/ibm/icu/impl
|
||||
Specification-Title: ICU for Java Locale Service Provider
|
||||
Specification-Title: International Components for Unicode for Java (JDK locale service provider)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java Locale Service Provider
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (JDK locale service provider)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J JDK locale service provider
|
||||
Bundle-Description: International Components for Unicode for Java (JDK locale service provider)
|
||||
Bundle-SymbolicName: com.ibm.icu.localespi
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
|
@ -1,11 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Name: com/ibm/icu/impl
|
||||
Specification-Title: ICU for Java Region Data
|
||||
Specification-Title: International Components for Unicode for Java (region data)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java Region Data
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (region data)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J region data
|
||||
Bundle-Description: International Components for Unicode for Java (region data)
|
||||
Bundle-SymbolicName: com.ibm.icu.regiondata
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
|
@ -1,11 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Name: com/ibm/icu/text
|
||||
Specification-Title: ICU for Java Transliteration
|
||||
Specification-Title: International Components for Unicode for Java (transliteration)
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java Transliteration
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java (transliteration)
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: @COPYRIGHT@
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J transliteration
|
||||
Bundle-Description: International Components for Unicode for Java (transliteration)
|
||||
Bundle-SymbolicName: com.ibm.icu.translit
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
|
@ -58,6 +58,7 @@
|
||||
<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>
|
||||
|
||||
@ -72,16 +73,7 @@
|
||||
|
||||
<target name="@src-jar">
|
||||
<mkdir dir="${jar.dir}"/>
|
||||
|
||||
<copy file="manifest.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}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
|
||||
<jar jarfile="${jar.dir}/${src.jar.name}" manifest="${out.dir}/manifest.stub" compress="true">
|
||||
<jar jarfile="${jar.dir}/${src.jar.name}" compress="true">
|
||||
<fileset dir="${src.dir}" includes="**/*.java"/>
|
||||
<fileset dir="${shared.dir}/licenses">
|
||||
<include name="license.html"/>
|
||||
|
@ -7,6 +7,7 @@
|
||||
icu4j.spec.version = 4.5
|
||||
icu4j.impl.version = 4.5.2
|
||||
current.year = 2010
|
||||
default.exec.env = J2SE-1.5
|
||||
|
||||
corp = IBM Corporation
|
||||
copyright = Copyright 2000-${current.year}, International Business Machines Corporation and others. All Rights Reserved.
|
||||
@ -28,6 +29,7 @@ javac.compilerarg = -Xlint:none
|
||||
jar.spec.version = ${icu4j.spec.version}
|
||||
jar.impl.version = ${icu4j.impl.version}
|
||||
jar.copyright.info = ${copyright}
|
||||
jar.exec.env = ${default.exec.env}
|
||||
|
||||
# Jar locations
|
||||
icu4j.data.jar = ${shared.dir}/data/icudata.jar
|
||||
|
18
icu4j/manifest.stub
Normal file
18
icu4j/manifest.stub
Normal file
@ -0,0 +1,18 @@
|
||||
Manifest-Version: 1.0
|
||||
Specification-Title: International Components for Unicode for Java
|
||||
Specification-Version: @SPECVERSION@
|
||||
Specification-Vendor: icu-project.org
|
||||
Implementation-Title: International Components for Unicode for Java
|
||||
Implementation-Version: @IMPLVERSION@
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: ICU4J
|
||||
Bundle-Description: International Components for Unicode for Java
|
||||
Bundle-SymbolicName: com.ibm.icu
|
||||
Bundle-Version: @IMPLVERSION@
|
||||
Bundle-Vendor: IBM Corporation
|
||||
Bundle-Copyright: @COPYRIGHT@
|
||||
Bundle-RequiredExecutionEnvironment: @EXECENV@
|
||||
Main-Class: com.ibm.icu.util.VersionInfo
|
||||
Export-Package: com.ibm.icu.lang,com.ibm.icu.math,com.ibm.icu.text,com.ibm.icu.util
|
Loading…
Reference in New Issue
Block a user