Portlet Factory, Version 6.1.2


 

override.properties files

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 or cluster.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 directory.

The override property files are:

File specified in preferences

Contains override properties that are specified by the preferences. The override file specified in Window > Preferences 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.
designer_core_version_number/config

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.

File located within project

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:

  1. 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

  2. The following properties are added or overwritten in override.properties.
    logging.driver.eventSink.directory=eclipseinstalldir
    /workspace/.metadata/.plugins/com.bowstreet.designer.core/logs logging.driver.eventSink.prefix=designer_event_ logging.event.flush.interval=1 

    This ensures that WebSphere Portlet Factory Designer logs are written to the appropriate place. All other properties in override.properties are unaffected.

Parent topic: About preferences


Library | Support |