Overriding Messages in Standard Resource Bundles
Let's assume that you want to override some messages that are
defined in the standard
ApplicationResources.properties
files in the
Widget Framework
Core
distribution. You need to go through the following steps
:
-
Go to the
misc/demo
directory of theWidget Framework Core
distribution. -
Create an
ApplicationResources.properties
file insrc/main/resources/com/escenic/framework
folder. Define your customized key-value pairs in this file. -
Run
mvn clean install
command inmisc/demo
folder. The demo webapp war file will be available undermisc/demo/target
folder. The mergedApplicationResources.properties
file will be inWEB-INF/classes/com/escenic/framework
folder within the war. It will contain the custom key-value pairs that you defined earlier.