[ 
https://issues.apache.org/jira/browse/DERBY-7056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037928#comment-17037928
 ] 

Richard N. Hillegas commented on DERBY-7056:
--------------------------------------------

Thanks for the patch, Mark. It looks like we're in the home stretch here. The 
patch compiles cleanly thusly:

{noformat}
ant all
{noformat}

but the jars don't build cleanly:

{noformat}
ant buildjars
{noformat}

I see the following terminal errors:

{noformat}
derbysharedjar:
     [echo] Beginning derbyshared.jar sane build
     [echo]  creating new shared.properties file 

infowriter:
[propertyfile] Updating property file: 
/Users/rhillegas/derby/mainline/trunk/classes/shared/org/apache/derby/info/shared/info.properties

meta-inf-common:
     [copy] Copying 2 files to 
/Users/rhillegas/derby/mainline/trunk/jars/sane/lists/META-INF
     [exec] Error: Unable to access jarfile ${bnd}

BUILD FAILED
/Users/rhillegas/derby/mainline/trunk/build.xml:2391: exec returned: 1
{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
>            Assignee: Richard N. Hillegas
>            Priority: Major
>         Attachments: 0001-Initial-production-of-OSGi-manifests.patch, 
> 0002-Initial-production-of-OSGi-manifests-for-locales.patch, 
> 0003-Produce-working-locales-fragments-and-refactor.patch, 
> 0004-Reintroduce-Class-Path-attributes.patch, 
> 0005-Clear-BundleActivator.patch, complete0.diff, derby.txt, 
> patch-20191213.diff, patch-20200209.diff
>
>
> 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)

Reply via email to