Provide Configuration Properties
In 2.1-SNAPSHOT we’ve updated how configuration by convention works. Here’s a quick summary on how to provide Fénix framework configuration properties. It is now possible to give configuration properties in three ways:
-
using file
fenix-framework.properties
; -
using file
fenix-framework-NNN.properties
, whereNNN
is the name of the BackEnd of the generated domain-specific code; -
system properties (the
-D
switch), with thefenixframework.
prefix added (e.g.-Dfenixframework.appName
to set propertyappName
).
Priority increases from the first to the last item listed. These three mechanisms can be combined. In case of setting the same property more than once, the setting with the most priority wins.