The DITA Open Toolkit provides a command-line tool as an alternative for users with little knowledge of Ant. Most parameters available to the Ant builds are also available using the command-line tool.
If you are using the "Full Easy Install" package, running the startcmd batch file will set up a build environment for you and put you in the correct directory. If you are not using this method, you must set up all of your tools (Ant, XSLT, FOP, etc) before running the build.
java -jar lib/dost.jar /i:samples/sequence.ditamap /outdir:out /transtype:xhtml
This particular example calls Ant to build the sample sequence.ditamap file to XHTML. The output is placed in the out/ directory.
ant -propertyfile ${args.logdir}/property.temp
java -jar lib/dost.jar
See Command-line tool arguments for DITA-OT for supported command-line tool arguments. To get a full list of arguments, run
java -jar lib/dost.jar -help
java -jar lib/dost.jar -version java -jar lib/dost.jar -h
You can see the brief description of the supported parameters in the command-line window when you type a specified command.