create-ot-build-file
Creates the DITA-OT build.xml file based on a template file.
This task is used by the ot_build_create
IXIASOFT CCMS target.
Syntax
<create-ot-build-file template="template_filename" buildfile="build_filename">
<param name="para_name" value="value"/>
</create-ot-build-file>
Parameters
Attribute | Description | Type | Required |
---|---|---|---|
template | Full path and name of the template file used to create the build file.
For an example of a template file, see: %OutputGenDir%\data\dita-ot-2.3.1\build_template.xml |
String | Yes |
buildfile | Full path and name of the build file that will be created by this task. | String | Yes |
One or more <param> elements |
List of DITA-OT parameters that will be set in the build file. | String | Yes |
Example
<create-ot-build-file template="${job.build.template.filename}" buildfile="${job.build.filename}">
<param name="dita.dir" value="${outgen.ot.dir}"/>
<param name="dita.temp.dir" value="${outgen.job.ot.temp.dir}"/>
<param name="args.input" value="${outgen.job.source.filename}"/>
<param name="output.dir" value="${outgen.job.output.dir}"/>
</create-ot-build-file>