Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
SMILA/Documentation/SMILA Versioning
Contents
SMILA Versioning
The current SMILA version 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.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
Although only one version is currently displayed here, there may be other VersionProvider components whose version information could be added here too.
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