tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Updated: (OPENEJB-1118) Split package org.apache.openejb.client
Date Thu, 10 Dec 2009 21:31:18 GMT


Jarek Gawor updated OPENEJB-1118:

    Attachment: OPENEJB-1118.patch

The attached patch contains a fix for the split package problem. The patch makes the org.apache.openejb.client
NOT to be exported from the openejb-core bundle and instead it exports a new org.apache.openejb.osgi.client
package that contains a LocalInitialContextFactory that should be used in OSGi environment.
That way, the existing code using the LocalInitialContextFactory in non-OSGI environment will
continue to work as before and only the code running in OSGI environment will need to be updated
to use the LocalInitialContextFactory from org.apache.openejb.osgi.client package.
The patch also cleans up the openejb-client module pom  a little to remove the unnecessary
maven-bundle-plugin entry (the maven-bundle-plugin is already enabled in parent pom).

Btw, this patch only fixes the split package problem. I haven't tried yet if the new LocalInitialContextFactory
actually works in the OSGi environment.

> Split package org.apache.openejb.client
> ---------------------------------------
>                 Key: OPENEJB-1118
>                 URL:
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 3.1.x
>            Reporter: Jarek Gawor
>         Attachments: OPENEJB-1118.patch
> The org.apache.openejb.client package is exported by two bundles: openejb-core and openejb-client.
A split package in OSGi causes lots of headaches. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message