The <filepath>configuration.properties</filepath> file configuration.properties The configuration.properties file controls certain common properties, as well as some properties that control PDF processing. configuration propertiesdefault.cascade org.dita.pdf2.i18n.enabled plugin.ignores plugin.order plugindirs temp-file-name-scheme cli.color registry default.coderef-charset files config/configuration.properties file PDFconfiguration properties cascade macOScolored console output Linuxcolored console output Windowscolored console output command linedita command terminalcommand line grammar filesschema DTD dita commandcolored console output metadatacascade DITA 1.3cascade default.cascade org.dita.pdf2.i18n.enabled plugin.ignores plugin.order plugindirs temp-file-name-scheme cli.color registry default.coderef-charset Javatemporary file names temporary file names catalogimport precedence internationalizationI18N

The contents of the config/configuration.properties file are added to the DITA-OT configuration in the dost-configuration.jar file when the plug-in integration process runs. The following properties are typically set in this file:

default.cascade

Specifies the processing default value for the DITA 1.3 cascade attribute, which determines how map-level metadata attributes are applied to the children of elements where the attributes are specified. DITA-OT uses the value by default for backwards compatibility with DITA 1.2 and earlier.

This property can only be set in configuration.properties and should not be modified.
temp-file-name-scheme

This setting specifies the name of the Java class that defines how the source URL of a topic is mapped to the URL of the temporary file name. The current default method uses a 1:1 mapping, though future implementations may use alternative approaches such as hashes or full absolute paths as file names.

cli.color

Specifies whether the dita command prints colored output on the command line console. When set to , error messages in dita command output will appear in red on terminals that support ANSI escape codes, such as on Linux or macOS. Set to to disable the color. (Colored output is not supported on Windows consoles such as cmd.exe or PowerShell).

plugindirs A semicolon-separated list of directory paths that DITA-OT searches for plug-ins to install; any relative paths are resolved against the DITA-OT base directory. Any immediate subdirectory that contains a plugin.xml file is installed. plugin.ignores A semicolon-separated list of directory names to be ignored during plug-in installation; any relative paths are resolved against the DITA-OT base directory. plugin.order Defines the order in which plug-ins are processed. In XML catalog files, the order of imports is significant. If multiple plug-ins define the same thing (differently), the first catalog entry “wins”. DITA-OT uses this property to define the order in which catalog entries are written. This mechanism is currently used to ensure that DITA 1.3 grammar files take precedence over their DITA 1.2 equivalents. registry Defines the list (and order) of plug-in repositories that are searched for available plug-ins during the installation process. In addition to the main plug-in registry at , you can create a registry of your own to store the custom plug-ins for your company or organization. To add a new entry, append the URL for your custom registry directory to the registry key value, separating each entry with a space. For more information, see . default.coderef-charset As of DITA-OT 3.3, the default character set for code references can be changed by specifying one of the character set values supported by the Java Charset class.