Lance
Lance

Reputation: 1

How to install OSGi bundle in program distribution

I have an application that I am converting to OSGi, and there are a couple of bundles that are required (for now). These are jars that are included in the program distribution. What is the best way to install these? I was looking at using a classpath:xxx.jar, but is there a better way to do this?

thanks, Lance

Upvotes: 0

Views: 520

Answers (2)

Lukasz
Lukasz

Reputation: 7662

Another approach that could be satisfying is to create a feature containing all your bundles. See for a hint here. A feature is a package of bundles and it allows you to install a bunch of bundles with one command.

Upvotes: 1

Angelo van der Sijpt
Angelo van der Sijpt

Reputation: 3641

I'm guessing that you want an easy way to start up your application, without having to install all bundles from the console at every startup. If that is your current problem, you can take a look at

Upvotes: 1

Related Questions