<?xml version="1.0" encoding="UTF-8" ?>
<!-- This file is part of the DITA Open Toolkit project hosted on 
     Sourceforge.net. See the accompanying license.txt file for 
     applicable licenses.-->
<!-- (c) Copyright IBM Corp. 2005, 2006 All Rights Reserved. -->

<!-- 
  | basedir can be specified to other places base on your need.
  |
  | Note: input, output, and temp directories will base on the basedir if 
  | they are relative paths.
  * -->

<project name="sample_wordrtf" default="sample2wordrtf" basedir=".">
  
  <!-- dita.dir should point to the toolkit's root directory -->
  <property name="dita.dir" value="${basedir}${file.separator}..${file.separator}.."/>
  
  <!-- if file is a relative file name, the file name will be resolved 
       relative to the importing file -->
  <import file="${dita.dir}${file.separator}integrator.xml"/>
  
  <target name="sample2wordrtf" depends="integrate">
    <ant antfile="${dita.dir}${file.separator}build.xml" target="init">
      <!-- please refer to the toolkit's document for supported parameters, and 
           specify them base on your needs -->
      <property name="args.input"
        value="${dita.dir}${file.separator}samples${file.separator}hierarchy.ditamap"/>
      <property name="output.dir"
        value="out${file.separator}samples${file.separator}wordrtf"/>
      <property name="transtype" value="wordrtf"/>
    </ant>
  </target>
</project>
