Orb version 0.1.9. Fixes Bug 1965, Bug 2401
<?xml version="1.0" encoding="UTF-8" ?>
<!--
| (C) Copyright IBM Corporation 2005 - 2006. All Rights Reserved.
*-->
<project name="apiref" default="all" basedir="..\..">
<import file="${basedir}${file.separator}build.xml"/>
<dirname property="apiref.dir" file="${ant.file.apiref}"/>
<target name="all"
description="build all API Reference sample output"
depends="apirefSample2xhtml"/>
<!-- sample content targets -->
<target name="apirefSample2xhtml"
description="build HTML for the API Reference samples"
depends="use-init">
<mkdir dir="${apiref.dir}${file.separator}out" />
<mkdir dir="${apiref.dir}${file.separator}out${file.separator}sample" />
<antcall target="apiref2xhtml">
<param name="dita.extname" value=".dita"/>
<param name="transtype" value="xhtml"/>
<param name="args.input"
value="${apiref.dir}${file.separator}sample${file.separator}apiPackage1.ditamap"/>
<param name="output.dir"
value="${apiref.dir}${file.separator}out${file.separator}sample"/>
</antcall>
<copy file="${apiref.dir}${file.separator}sample${file.separator}frameset.html"
todir="${apiref.dir}${file.separator}out${file.separator}sample"/>
</target>
<target name="apirefSampleClean"
description="Delete the sample output files from the build">
<delete dir="${apiref.dir}${file.separator}out${file.separator}sample" />
</target>
<!-- documentation targets -->
<target name="apirefDoc2xhtml"
description="build the HTML documentation for the specialization"
depends="use-init">
<mkdir dir="${apiref.dir}${file.separator}out" />
<antcall target="dita2xhtml">
<param name="args.input"
value="${apiref.dir}${file.separator}doc${file.separator}apiRefDoc.ditamap"/>
<param name="output.dir"
value="${apiref.dir}${file.separator}out${file.separator}doc"/>
<param name="dita.extname"
value=".dita"/>
</antcall>
</target>
<target name="apirefDocClean"
description="Delete the documentation output files from the build">
<delete dir="${apiref.dir}${file.separator}out${file.separator}doc" />
</target>
</project>