You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2013/04/10 15:38:15 UTC

[jira] [Updated] (CURATOR-2) OSGi-friend distribution

     [ https://issues.apache.org/jira/browse/CURATOR-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated CURATOR-2:
-----------------------------------

    Attachment: osgi-ready.patch

I am attaching a patch which makes curator jars proper OSGi bundles.

A known issue is that the bundle provided by Apache Zookeeper does not export package org.apache.zookeeper.common. So people will have to pick one of the few Zookeeper wrapper bundles, to get curator working inside OSGi. An alternative approach is to embeed that package inside the curator bundle.

Since Curator is just using PathUtils from that package and there are just a few utility classes there, both embeding the package or hosting a PathUtils inside curator, is no biggie.

I can go with whatever solution you prefer.

If you'd be willing to host some pax-exam tests (used for OSGi testing), I'd be happy to provide some.
                
> OSGi-friend distribution
> ------------------------
>
>                 Key: CURATOR-2
>                 URL: https://issues.apache.org/jira/browse/CURATOR-2
>             Project: Apache Curator
>          Issue Type: New Feature
>          Components: General
>    Affects Versions: 2.0.0
>            Reporter: Luca Burgazzoli
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>         Attachments: osgi-ready.patch
>
>
> The current curator jars (netfix/github) are not OSGi-enabled, would be nice to have the apache distributions OSGi-aware.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira