zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] nkalmar commented on issue #945: [ZOOKEEPER-3389] Zookeeper does not export all required packages in OSGi (needed for curator)
Date Wed, 15 May 2019 14:26:49 GMT
nkalmar commented on issue #945: [ZOOKEEPER-3389] Zookeeper does not export all required packages
in OSGi (needed for curator)
URL: https://github.com/apache/zookeeper/pull/945#issuecomment-492677907
 
 
   There will be 2 jars upon release, zookeeper-jute and zookeeper-server. zookeeper-jute
is the serialization library (just like protobuf). zookeeper-server depends on zookeeper-jute.

   Since jute (originally) was an independent project, it was always kept seperate. But it
evolved with zookeeper, hence the same package names. It's not ideal, and even causes problems
like this one with OSGi.
   
   The jute classes are generated, just like in protobuf. 
   I'm afraid merging the packages together is not.. uhm, preferable, to say. The most plausible
solution out of these fro me seems to be changing jute package names. Those should be all
private to ZooKeeper, so we do not change public API. But I would be happy if we found another
solution.
   
   Unfortunately I don't know much about OSGi, so I don't know what the best solution would
be here. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message