jzy3d-api icon indicating copy to clipboard operation
jzy3d-api copied to clipboard

Add OSGi metadata to bundles

Open jonahgraham opened this issue 7 years ago • 4 comments

Diamond Light Source are interested in using jzy3d inside an Eclipse application. This requires that in some way the jzy3d and dependent bundles are resolvable using OSGi.

On behalf of Diamond I can provide updates/PR to jzy3d to add the OSGi metadata to the existing jars (using org.apache.felix:maven-bundle-plugin) or we can do it outside of jzy3d as a post-processing step using https://github.com/eclipse/ebr.

I would prefer to generate the correct metadata in the MANIFEST.MF directly, WDYT?

jonahgraham avatar Dec 05 '17 14:12 jonahgraham

Hi, Generating metadata in manifest.mf with maven bundle plugin sounds like a good idea! PR are always welcome. Best

jzy3d avatar Dec 09 '17 12:12 jzy3d

I found https://github.com/DiamondLightSource/jzy3d-january-eclipse however the repositories don't exist anymore.

Mailaender avatar May 02 '22 13:05 Mailaender

Hi @jonahgraham, @Mailaender is willing to use Jzy3D is an OSGi environment. It seams that exporting references to the API in its Jar Manifest would help and reading this ticket shows that you did it some time ago. Could you share us your recipe to generate this - e.g. from Maven Jar plugin or anything else?

jzy3d avatar May 02 '22 13:05 jzy3d

@jzy3d / @Mailaender - this is from my distant past. I added them to the EBR repo (see https://github.com/eclipse/ebr/pull/22) You can find the EBR recipe to change the jars to add OSGi in https://github.com/eclipse/ebr/tree/master/recipes/jogl and https://github.com/eclipse/ebr/tree/master/recipes/jzy3d

jonahgraham avatar May 02 '22 14:05 jonahgraham