[
https://issues.apache.org/jira/browse/DERBY-7056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16956335#comment-16956335
]
Mark Raynsford commented on DERBY-7056:
---------------------------------------
There are multiple Derby OSGi jars due to interdependencies. The derbyclient
and derby jars both depend on things exported by the derbyshared jar, for
example.
Based on the original Class-Path entries in the manifests, multiple jars depend
on the locale jars (and on each other):
{noformat}
$ jar-show-manifest jars/sane/derby.jar
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.10.7
Created-By: 11+28 (Oracle Corporation)
Bundle-Vendor: Apache Software Foundation
Bundle-Name: Apache Derby 10.16
Bundle-Version: 10.16.0000000.0
Bundle-ManifestVersion: 2
Sealed: true
Bundle-Activator: org.apache.derby.osgi.EmbeddedActivator
Bundle-SymbolicName: derby
DynamicImport-Package: *
Export-Package:
org.apache.derby.authentication,org.apache.derby.database,org.apache.derby.io,org.apache.derby.jdbc,org.apache.derby.vti
Class-Path: derbyshared.jar derbyLocale_cs.jar derbyLocale_de_DE.jar d
erbyLocale_es.jar derbyLocale_fr.jar derbyLocale_hu.jar derbyLocale_i t.jar
derbyLocale_ja_JP.jar derbyLocale_ko_KR.jar derbyLocale_pl.jar
derbyLocale_pt_BR.jar derbyLocale_ru.jar derbyLocale_zh_CN.jar derbyL
ocale_zh_TW.jar
$ jar-show-manifest jars/sane/derbyclient.jar
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.10.7
Created-By: 11+28 (Oracle Corporation)
Bundle-Vendor: Apache Software Foundation
Bundle-Name: Apache Derby 10.16
Bundle-Version: 10.16.0000000.0
Bundle-ManifestVersion: 2
Sealed: true
Bundle-SymbolicName: derbyclient
DynamicImport-Package: *
Export-Package: org.apache.derby.jdbc
Class-Path: derbyshared.jar derbyLocale_cs.jar derbyLocale_de_DE.jar d
erbyLocale_es.jar derbyLocale_fr.jar derbyLocale_hu.jar derbyLocale_i t.jar
derbyLocale_ja_JP.jar derbyLocale_ko_KR.jar derbyLocale_pl.jar
derbyLocale_pt_BR.jar derbyLocale_ru.jar derbyLocale_zh_CN.jar derbyL
ocale_zh_TW.jar
{noformat}
> Make Derby modules usable by OSGi-aware applications
> ----------------------------------------------------
>
> Key: DERBY-7056
> URL: https://issues.apache.org/jira/browse/DERBY-7056
> Project: Derby
> Issue Type: Task
> Components: Build tools
> Affects Versions: 10.15.1.3
> Reporter: Richard N. Hillegas
> Priority: Major
>
> OSGi R7 introduced support for JPMS modules in 2018 according to
> https://blog.osgi.org/2018/02/osgi-r7-highlights-java-9-support.html. This
> includes additional information which goes into jar file manifests. Support
> for this OSGi information was requested by an email thread on the user list:
> http://apache-database.10148.n7.nabble.com/OSGi-manifest-headers-td150560.html.
> We need advice from OSGi experts on how to make Derby modules usable by
> OSGi-aware applications.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)