Web Apps and so forth..

Thursday, August 13, 2009

ZK on OSGi - Unique ZK bundle

A user from the zk forum, galdasc, pointed out a way to create a unique ZK bundle working flawlessly with the osgi classloader. Here's the recipe :
  • Copy all zk jars needed in a bundle
  • Add them in the Bundle-Classpath
  • Copy all the Export-Package and Import-Package statements from each bundelized zk jar given by the bnd tool (previous post) or by the eclipse method.
Unfortunately there is no way of doing this automatically. I'm going to provide such a bundle soon.