Skip to content

smartrplace/osgi-run-configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osgi-run-configs

Contains various OSGi run configurations

Projects

Run

To run one of the configurations, execute the provided start scripts (start.sh for Bash-compatible shells, or start.bat for a Windows shell), or import the projects into the Eclipse IDE and use one of the provided launch configurations.

Parameters

  • -clean: clean start (if not set, and the framework had been started before, then the saved instance will be restarted)
  • -security: activate OSGi/OGEMA security

Hence a clean start with security enabled can be achieved by executing

./start.sh -clean -security

Configuration

The folder config contains several configuration files:

  • config.properties: set system properties and configure the Felix OSGi framework
  • config.xml: defines which bundles to start (resolved via Maven by the Maven resolver bundle)
  • loglevels.properties: specify loglevels for the OGEMA logger (OGEMA specific)
  • ogema.policy: defines a set of static policies to apply when started with security enabled (OGEMA specific)
  • ogema.roles: defines an initial set of users in a clean start (OGEMA specific)
  • repos.properties: define custom Maven repositories for the Maven resolver

In addition, bundle jars may be placed in the folder init; they will be started by the Maven resolver as well. The folder ext on the other hand contains jar-Files that will be placed on the system classpath (if they contain a package that shall be made available to bundles, add the package to the org.osgi.framework.system.packages.extra property in the config/config.properties file).

About

Contains various OSGi run configurations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages