Building output using Ant You can build output by running the ant command and specifying the DITA-OT parameters at the command prompt. You also can use an Ant build script to provide the DITA-OT parameters To provide the DITA-OT parameters from the command prompt, issue the following command: ant -Dargs.input=input-file -Dtranstype=transformation-type -Dparameter-name=valuewhere:
If you use a build script, issue the following command: 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 @default attribute for the Ant project is used.