Orb/Doxygen/DITA/plugins/cxxapiref/run-ant.xml
author szarinda <>
Thu, 21 Jan 2010 17:29:01 +0000
changeset 0 42188c7ea2d9
child 1 82f11024044a
permissions -rw-r--r--
Initial contribution of ORB delivering Feature bug 1460

<?xml version="1.0" encoding="UTF-8" ?>
<!--
  Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
  All rights reserved.
-->
<project name="cxxapiref" default="all" basedir="..\..">

  <import file="${basedir}${file.separator}conductor.xml"/>

	<target name="all"
        description="build all C++ API Reference output"
        depends="cxxrefSample2xhtml"/>

    <!-- sample content targets -->
	<target name="cxxrefSample2xhtml"
        description="build HTML for the C++ API Reference samples"
        depends="use-init">
      <mkdir dir="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out" />
      <mkdir dir="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out${file.separator}sample" />

      <antcall target="cxxref2xhtml">
		<param name="dita.extname" value=".dita"/>
		<param name="transtype"    value="xhtml"/>
		<param name="args.input"
            value="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}sample${file.separator}cxxApiExamples.ditamap"/>
		<param name="output.dir"
            value="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out${file.separator}sample"/>
      </antcall>

      <copy file="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}sample${file.separator}frameset.html"
          todir="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out${file.separator}sample"/>
	</target>

	<target name="cxxapirefSampleClean"
        description="Delete the sample output files from the build">
      <delete dir="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out${file.separator}sample" />
	</target>

    <!-- documentation targets -->
	<target name="cxxapirefDoc2xhtml"
        description="build the HTML documentation for the specialization"
        depends="use-init">
      <mkdir dir="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out" />
      <antcall target="dita2xhtml">
		<param name="args.input"
            value="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}doc${file.separator}root.ditamap"/>
		<param name="output.dir"
            value="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out${file.separator}doc"/>
		<param name="dita.extname"
            value=".dita"/>
      </antcall>
	</target>

	<target name="cxxapirefDocClean"
        description="Delete the documentation output files from the build">
      <delete dir="${basedir}${file.separator}demo${file.separator}cxxapiref${file.separator}out${file.separator}doc" />
	</target>
</project>