Call the DITA Open Toolkit from IXIA CCMS Output Generator

The IXIA CCMS Output Generator calls the DITA Open Toolkit (DITA-OT) in the same way as the DITA-OT startcmd command and passes a build script.

The IXIA CCMS Output Generator calls the DITA-OT by performing the following steps:
  1. It creates the build.xml file required to build a DITA-OT output. A typical build.xml file created by the IXIA CCMS Output Generator for a PDF transformation might look as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <project basedir="." default="outgen.build" name="outgen_build">
      <property environment="env"/>
      <property location="C:\ixiasoft\OutputGenerators\Prod\data\DITA-OT1.8.5" 
                name="dita.dir"/>
      <target description="Output Generator auto-generated build file" 
              name="outgen.build">
         <ant antfile="${dita.dir}/build.xml">
           <property 
            location="C:\ixiasoft\OG\Prod\temp\Dita2Pdf.mtest.42.1417543950109\temp" 
            name="dita.temp.dir"/>
           <property 
            location="C:\ixiasoft\OG\Prod\temp\Dita2Pdf.mtest.42.1417543950109\content↩
            \authoring\mte1417452438148.ditamap" 
            name="args.input"/>
           <property 
            location="C:\ixiasoft\OG\Prod\temp\Dita2Pdf.mtest.42.1417543950109\out" 
            name="output.dir"/>
           <property name="pdf.formatter" value="xep"/>
           <property name="xep.dir" value="C:\Program Files\RenderX\XEP"/>
           <property name="clean.temp" value="no"/>
           <property name="retain.topic.fo" value="yes"/>
           <property name="transtype" value="pdf2"/>
           <property name="args.fo.include.rellinks" value="none"/>
           <property name="args.draft" value="no"/>
         </ant>
      </target>
    </project>
  2. The IXIA CCMS Output Generator then forks a shell environment that is equivalent to the DITA-OT startcmd command and runs the ant -f build.xml command in it, using the build script it just created.