Skip to main content
Jump to: navigation, search

SMILA/Documentation/SMILA Versioning

< SMILA‎ | Documentation
Revision as of 03:55, 29 June 2012 by Andreas.weber.empolis.com (Talk | contribs) (SMILA Versioning - initial version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SMILA Versioning

The current SMILA version which is displayed via REST API. The version is delivered by a VersionManager service via registered VersionProvider service(s).

Getting version via REST API

After starting SMILA, the main site of the REST API will show you the SMILA version:

  version: {
    smila: "1.1.0.TODO"
  },
  ...

The version is a compound of: <version number>.<SVN revision>

  • <version number> (e.g. "1.1.0"): comes from configuration/org.eclipse.smila.versions/version.properties
  • <SVN revision>(e.g. TODO): current SVN revision at time of build


Bundle org.eclipse.smila.versions

The JavaDoc for the bundle can be found here.

org.eclipse.smila.versions.VersionProvider

Services implementing this interface (and providing it via OSGI DS) are able to deliver their own version.

org.eclipse.smila.versions.VersionManager

This service provides an API for dynamically registering VersionProvider services.

org.eclipse.smila.versions.SMILAVersionProvider

The VersionProvider implementation that reads the SMILA version from the configuration/org.eclipse.smila.versions/version.properties

Back to the top