Configuring service.properties
Service Builder generates a service.properties
file in your *-service
module’s src/main/resources
folder. Liferay uses this file’s properties to alter your service’s database schema. Do not modify this file directly; instead make necessary property overrides in a service-ext.properties
file in that same folder.
Here are some of the properties the service.properties
file includes:
-
build.namespace
: This is the namespace you defined in yourservice.xml
file. Liferay distinguishes different modules from each other using their namespaces. -
include-and-override
: The default value of this property definesservice-ext.properties
as an override file forservice.properties
.