O'Reilly logo

DITA for Print by Leigh W. White

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Create a batch file to launch an ANT build (Windows)

Create a batch file that launches your ANT build file with a single click.

Using startcmd.bat to create output from the DITA Open Toolkit is great, but who wants to type that command line all the time? It’s a lot easier to make a custom batch file for each build you plan to run. Then, a simple double-click gets you on your way.

It’s worth mentioning that this batch file not only launches a build, it also sets some environment variables on the fly for you. In the past, you had to set these environment variables manually, which was tedious and error-prone. The batch file sets these environment variables for you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required