You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2009/12/10 22:17:18 UTC

[jira] Created: (OPENEJB-1118) Split package org.apache.openejb.client

Split package org.apache.openejb.client
---------------------------------------

                 Key: OPENEJB-1118
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1118
             Project: OpenEJB
          Issue Type: Bug
          Components: osgi
    Affects Versions: 3.1.x
            Reporter: Jarek Gawor


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.


[jira] Updated: (OPENEJB-1118) Split package org.apache.openejb.client

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: https://issues.apache.org/jira/browse/OPENEJB-1118
>             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.


[jira] Assigned: (OPENEJB-1118) Split package org.apache.openejb.client

Posted by "Jacek Laskowski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacek Laskowski reassigned OPENEJB-1118:
----------------------------------------

    Assignee: Jacek Laskowski

> Split package org.apache.openejb.client
> ---------------------------------------
>
>                 Key: OPENEJB-1118
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1118
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 3.1.x
>            Reporter: Jarek Gawor
>            Assignee: Jacek Laskowski
>         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.


[jira] Closed: (OPENEJB-1118) Split package org.apache.openejb.client

Posted by "Jacek Laskowski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacek Laskowski closed OPENEJB-1118.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.3
         Assignee: Jarek Gawor  (was: Jacek Laskowski)

I've been thinking about a similar change, but didn't mean to introduce any changes to an app on a user's side. It seems there's no other way and hence I committed the changes (they don't break the build either). Thanks Jarek!

Committed revision 895326.

> Split package org.apache.openejb.client
> ---------------------------------------
>
>                 Key: OPENEJB-1118
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1118
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 3.1.x
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 3.1.3
>
>         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.


[jira] Work started: (OPENEJB-1118) Split package org.apache.openejb.client

Posted by "Jacek Laskowski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on OPENEJB-1118 started by Jacek Laskowski.

> Split package org.apache.openejb.client
> ---------------------------------------
>
>                 Key: OPENEJB-1118
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1118
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 3.1.x
>            Reporter: Jarek Gawor
>            Assignee: Jacek Laskowski
>         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.