A.2 Message Template Repository
The message template repository resides in a flat text file and contains
messages in the format <message ID 1> <message text>
. The following
is an example of a message repository’s contents:
111 Dataset ID {0} is invalid
112 Run ID {0} running Pattern {1} failed
113 Checkpoint false, deleting match
111, 112, and 113 represent message IDs; whitespace and message text follow. The {0}s and {1}s represent placeholders for code variable values.
Each subsystem has its own repository.
The naming convention for each message library file is
mantas_<subsystem>_message_lib_<language-code>.dat
, where
<subsystem>
is the name of the subsystem and
<language-code>
is the two-character Java (ISO 639) language
code. For example, the English version of the Algorithms message library is
mantas_algorithms_message_lib_en.dat
.
The log.message.library
property that the subsystem’s base
install.cfg
file contains specifies the full path to a subsystem’s
message library file.