Advanced Tab (DITA-OT Transformations)
When you create a new transformation scenario or edit an existing one, a configuration dialog box is displayed that allows you to customize the transformation with various options in several tabs.
The Advanced tab allows you to specify advanced options for the transformation scenario.
You can specify the following parameters:
- Custom build file
- If you use a custom DITA-OT build file, you can specify the path to the customized
build file. If empty, the build.xml file from the
dita.dirparameter that is configured in the Parameters tab is used. You can specify the path by using the text field, the
Insert Editor
Variables button, or the
Browse button. - Build target
- Optionally, you can specify a build target for the build file. If no target is
specified, the default
inittarget is used. - Additional arguments
- You can specify additional command-line arguments to be passed to the transformation
(such as
-verbose). - Ant Home
- You can choose between the default or custom Ant installation to run the transformation. The default path can be configured in the Ant preferences page.
- Java Home
- You can choose between the default or custom Java installation to run the
transformation. The default path is the Java installation that is used by Oxygen XML Editor.Note: It may be possible that the used Java version is incompatible with the DITA Open Toolkit engine. For example, DITA-OT 2.0 and newer requires Java 1.7 or newer. Thus, if you encounter related errors running the transformation, consider installing a Java VM that is supported by the DITA-OT publishing engine and using it in the Java Home text field.
- JVM Arguments
- This parameter allows you to set specific parameters for the Java Virtual Machine used by Ant. When performing a large transformation, you may want to increase the memory allocated to the Java Virtual Machine. This will help avoid Out of Memory error messages (OutOfMemoryError). For example, if it is set to -Xmx2g, the transformation process is allowed to use a maximum 2 gigabytes of memory. If you do not specify an -Xmx value in this field, by default the application will use a maximum of 512 megabytes when used with the 32-bit Java Virtual Machine and one gigabyte with the 64-bit Java Virtual Machine.
- Libraries
- By default, Oxygen XML Editor adds libraries (as high priority) that are not
transformation-dependent and also patches for certain DITA Open Toolkit bugs. You can
use this button to specify additional libraries (JAR files or additional class paths) to be used by the
transformer.Tip: You can specify the path to the additional libraries using wildcards (for example,
${oxygenHome}/lib/*.jar).