Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

SMILA/Documentation/SMILA Versioning

SMILA Version Information

The current SMILA version is displayed via REST API. The version is delivered by a VersionManager service via registered VersionProvider service(s). Although only one version - the smila version - is currently used, there may be other VersionProvider components whose version information could also be added.

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.2885"
  },
  ...

The smila 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. "2885"): 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 information.

org.eclipse.smila.versions.VersionManager

This service provides an API for dynamically registering VersionProvider services. It delivers the sum of all provided version information which is displayed in the REST API.

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