Portal Developer Properties

There are Portal Properties that facilitate development. Liferay’s portal-developer.properties file includes all of them. The portal-developer.properties file is enabled by adding this setting to the top of your portal-ext.properties file:

include-and-override=portal-developer.properties

Developer Settings

Developer SettingDescription
schema.module.build.auto.upgrade=trueAutomatically upgrades the database when a module’s build number has been increased since the last deployment.
upgrade.database.auto.run=trueExecutes the upgrade process when the portal starts and modules are activated.
theme.css.fast.load=falseDisables merging the theme’s CSS files to facilitate debugging.
theme.images.fast.load=falseDisables merging the theme’s image files to facilitate debugging.
javascript.fast.load=trueDisables loading the packed version of files listed in the properties Liferay-JS-Resources-Top-Head and/or Liferay-JS-Resources-Top-Head-Authenticated of OSGi bundles’ manifest files.
javascript.log.enabled=falseDisables the display of JavaScript logging.
layout.template.cache.enabled=falseDisables caching layout template content.
combo.check.timestamp=trueFacilitates debugging by disabling the combo servlet. See the combo.check.timestamp definition for more information.
json.service.serialize.throwable=trueReturns information about server errors in the JSON response.
minifier.enabled=falseEnables minification of CSS and JavaScript resources.
module.framework.properties.initial.system.check.enabled=trueChecks modules during server startup.
module.framework.properties.osgi.console=localhost:11311Enables console access for debugging modules.
work.dir.override.enabled=trueAllows using the Liferay work directory to override JSP files within a deployed OSGi bundle.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy