Skip to content

Extlet Configuration Files

aldar42 edited this page Sep 14, 2010 · 5 revisions

Extlet tries to mimic the EXT configuration files. For the full comparison please see the Extlet vs. EXT comparison page.

Supported Configuration Files (v.1.3)

These configuration files are supported by the Extlet v.1.3.

All these files are located in the extlet-impl module and are created using the extlet-archetype.

  • /META-INF/extlet-hbm.xml – Hibernate entities configuration file
  • /META-INF/extlet-model-hints.xml – Liferay model hints
  • /META-INF/extlet-portal.properties – Changes of the portal.properties files with extended syntax **
  • /META-INF/extlet-remoting-servlet.xml – Changes of the remoting-servlet.xml
  • /META-INF/extlet-spring.xml – Changes of the portal Spring environment
  • /META-INF/extlet-struts-config.xml – Changes of the Struts
  • /META-INF/extlet-tiles-defs.xml – Changes of the Tiles, be aware the tiles definition file may not be empty (see it’s DTD)
  • /META-INF/liferay-portlet-extlet.xml – Changes of the portal’s liferay-portlet.xml file
  • /META-INF/portlet-extlet.xml – Changes of the portal’s portlet.xml file
  • /content/Language-extlet.properties – Possible changes of the Language.properties files (can be also made using Hooks)

** Extended syntax of the extlet-portal.properties file:

  • key=value replaces the old mapping in the original portal.properties file
  • key+=value adds new value (appends the string) to the end of the original value definition

Unsupported Configuration Files

Merging of these portal configuration files is not supported in the current version of the Extlet

  • /WEB-INF/web.xml
  • /WEB-INF/liferay-display.xml
  • /WEB-INF/liferay-layout-templates-ext.xml
  • /WEB-INF/liferay-look-and-feel-ext.xml
  • /META-INF/portal-log4j-ext.xml
  • /com/liferay/portal/jcr/jackrabbit/dependencies/repository-ext.xml
  • /resource-actions/default-ext.xml

Next: Hot Deploy Feature