Building output using Ant
You can build output by using an Ant build script to provide the DITA-OT parameters.
Procedure
- Open a command prompt or terminal session, and then change to the directory where the DITA Open Toolkit is installed.
-
Issue the following command:
Option Description Linux or macOS bin/ant -f build-script targetWindows bin\ant -f build-script targetwhere:- build-script is name of the Ant build script.
- target is an optional switch that specifies the name of the Ant target that you want
to run.
If you do not specify a target, the value of the
@defaultattribute for the Ant project is used.