You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mark Raynsford (Jira)" <ji...@apache.org> on 2020/02/09 21:23:00 UTC

[jira] [Comment Edited] (DERBY-7056) Make Derby modules usable by OSGi-aware applications

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

Mark Raynsford edited comment on DERBY-7056 at 2/9/20 9:22 PM:
---------------------------------------------------------------

Ah, sorry, yes, I forgot that I hadn't submitted a patch to fix the version-controlled/artifact issue.

The file `patch-20200209.diff` adjusts the `buildjars` target so that it depends on `buildsource`.

I've added a new property `out.bnd.dir` that uses a directory created in the `build` directory to hold
intermediate property files produced by the `bnd` tool. This means that the `bnd` directory in the source root contains only version-controlled files.


was (Author: io7m):
Ah, sorry, yes, I forgot that I hadn't submitted a patch to fix the version-controlled/artifact issue.

The file `patch-20200209.diff` adjusts the `buildjars` target so that it depends on `buildsource`.

I've added a new property `out.bnd.dir` that uses a directory created in the `build` directory to hold
intermediate property files produced by the `bnd` tool.

> 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)