To use a custom build file in a DITA-OT transformation, follow these steps:
- Use the
Configure Transformation Scenario(s) action to open the
Configure Transformation Scenario(s) dialog box.
- Select the transformation scenario and click Edit.
- Go to the Advanced tab and change the Custom build
file path to point to the custom build file.
As an example, if you want to call a custom script before running the DITA OT, your custom
build file would have the following
content:
<project basedir="." default="dist">
<import file="build.xml"/>
<target name="dist">
<antcall target="init"/>
</target>
</project>
Note: If you use the built-in Ant 1.8.2 build tool that comes bundled with
Oxygen XML Editor, it is located in the [OXYGEN_DIR]/tools/ant
directory. Any additional libraries for Ant must be copied to the Oxygen XML Editor Ant
lib directory.