Nova Ordis Utilities Version Metadata Handling: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * novaordis-utilities =Overview=") |
No edit summary |
||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
The mechanism relies on the presence of a "VERSION" metadata file in the application's classpath. | |||
<tt>VersionUtilities.getVersion()</tt> and <tt>VersionUtilities.getReleaseDate()</tt> can be used as top-level API to locate, process and display the metadata. | |||
In case the metadata file is not found, the both methods log the condition using SLF4J warn() and return null. |
Revision as of 17:57, 16 November 2016
Internal
Overview
The mechanism relies on the presence of a "VERSION" metadata file in the application's classpath.
VersionUtilities.getVersion() and VersionUtilities.getReleaseDate() can be used as top-level API to locate, process and display the metadata.
In case the metadata file is not found, the both methods log the condition using SLF4J warn() and return null.