Generating Documents with Java

How to generate documents from the command line with Java

See Ant Build Properties for DITA-OT for descriptions of all supported parameters.

  1. Open a command prompt.
  2. Change directories to where you installed the DITA Open Toolkit.
  3. Enter the following command to set environment variables for DITA-OT:
  4. Enter the following command:
    java -jar lib/dost.jar [optional parameters]