Skip to content

DIIRT preferences cannot be overridden #2196

@nickbattam

Description

@nickbattam

We have identified some behaviour in the DIIRT preferences that does not mirror the way other CS-Studio plugin preferences are handled. This difference in behaviour means that we are unable to set custom DIIRT preferences for groups of users that require a custom configuration to be set.

For "normal" plugins, preferences are read from the plugin_customization.ini file that override defaults set in the plugin. When a preference value is changed in the UI the new value is saved to the workspace .metadata/.plugins/org.eclipse.core.runtime/.settings/ folder.

If the -pluginCustomization option is used at the command line to pass a modified set of preferences, the value in the passed configuration file overrides the value from the plugin_customization.ini file and default, but not a value that has been saved into the workspace settings folder.

For the DIIRT preferences, all preferences from the plugin_customization.ini file (and the unset defaults) are as saved directly into the workspace folder so it is not possible to override them later with the command line flag.

Is this behaviour intentional or an unintended consequence of way the PreferenceStore is used to support the complex preferences management needed to build the DIIRT config files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions