How to generate documents from the command line with DITA OT.
The following table describes this command.
|ant||Starts the Ant build tool installed as part of DITA-OT.|
|-f buildfile||Specifies the build file containing instructions on how to compile your document project. If the build file is not in the current directory, you must specify the path to the file.|
|target||Specifies the desired output type of
the document project. DITA Open Toolkit supports the following targets:
DITA-OT displays a lot of output in the console window, including whether the build failed or succeeded at the end of the output.
When your build is unsuccessful, the error message may be difficult to find in the copious output. If you have not configured your console window most of the early output may have already scrolled off the screen. If you add an Ant property, -logger to the command line invocation, DITA-OT will save the output to a log file that you can study after the build finishes.
See Using the DITA-OT Build Logger> for information about logging DITA-OT build messages to a log file rather than the console window.