Two override properties files are available to take the place of property settings that are set in other property files.
The override feature is useful to replace a setting in another property file, such as bowstreet.properties
, typically logging settings. The override.properties
file is used by IBM® WebSphere® Portlet Factory Designer to specify logging properties for WebSphere Portlet Factory Designer, and to override properties specified in the IBM server config
You need to manually create the override.properties
file when you need it.
The override property files are:
File specified in preferences
File located within project
Contains override properties that are specified by the preferences. The override file specified in Window
usually contains a single set of properties that usually differ from runtime properties. For example, logging properties, profiles in database settings, and settings for builders. You can set this preference to the override.properties
file in the following plugin location.
If you change a property during development, use this preference to insure that your changes are correctly propagated across projects and throughout the IBM system.
In each project WEB-INF/config directory, a project-specific override.properties file can be used to supply overrides that apply both in WebSphere Portlet Factory Designer (at development time) and when the model is executed (at runtime). These properties are unique to the project and application and thus are set at the project level. A typical example of such a property might be a profile selection handler required for developing an application.
Each time WebSphere Portlet Factory Designer is started, the following actions occur:
- WebSphere Portlet Factory Designer attempts to locate the override.properties file specified in the Window -> Preferences -> WebSphere Portlet Factory Designer page. If the file is not found or not specified, WebSphere Portlet Factory Designer defaults to the version found in the following path:
Designer Install Location/plugins/com.bowstreet.designer.core_x.y.z/config/override.properties
- The following properties are added or overwritten in override.properties.
This ensures that WebSphere Portlet Factory Designer logs are written to the appropriate place. All other properties in override.properties
Parent topic: About preferences