The OSGi container should automatically use the MANIFEST.MF in the jar. That's why it's there. Or how do you do this with other 3rd party OSGi-ready jar-s?
Thursday, July 28, 2016, 12:08:42 AM, Christoph Rüger wrote: > Hi, > I just started trying to be a Freemarker contributor for the first time > today :) > I got Eclipse setup and running I could work on a first idea regarding > error handling. Not much, just some debugging, making a change, see if it > compiles and has an effect. All fine so far. > > In the freemarker.jar (2.3.25) from maven central there is a > META-INF/MANIFEST.MF with all the required OSGI Bundle headers. Seems that > this gets generated by bndtools. As I am not familiar with bndtools yet I > just hard-copied that folder (META-INF/MANIFEST.MF) manually into my > Eclipse freemarker project, so that our other OSGI bundles can see and > import this bundle as a dependency. > This works fine. > > *My question(s): * > 1. What would be a better way instead of copying the MANIFEST.MF from the > .jar file. > 2. Anybody using freemarker in an OSGI context and also working with > freemarker source? > > Thanks > Christoph > -- Thanks, Daniel Dekany
