VirtualBox

source: vbox/trunk/src/libs/DITA-OT-1.8.5/docsrc/quickstartguide/buildfiles/antditaot.xml@ 98584

Last change on this file since 98584 was 98584, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Author: Rob Justice -->
3<!-- Date: 6/26/10 -->
4<!-- You must run the startcmd.bat file in the DITA-OT toolkit directory to set severaltoolkit-related environment variables. -->
5<!-- Date: May 22, 2011 -->
6<!-- Replace this build file with a ditamap file -->
7<project name="antquickstartguide" default="dita2pdf" basedir=".">
8 <!-- Set project-specific environment variables -->
9 <property environment = "env"/>
10 <!-- <property name="toolkit_dir" value="${env.DITA_DIR}" /> -->
11 <property name="DITA_DIR" value="${env.DITA_DIR}"/>
12 <import file="${DITA_DIR}/integrator.xml"/>
13 <property name="args.logdir" value="../logs"/>
14 <property name="dita.input.valfile" value="../QSG.ditaval"/>
15
16 <!-- Specifies file types for your content and image files. Change these values if you use -->
17 <!-- .xml rather than .dita for content, and .jpg or .png rather than .gif for images. -->
18 <property name="dita.extname" value=".dita"/>
19 <property name="args.fo.img.ext" value=".gif"/>
20
21 <!-- The dita.temp.dir directory contains files automatically generated by DITA-OT during the document -->
22 <!-- generation. The directory is shared by all targets and all temp files are deleted by default. Set -->
23 <!-- the clean.temp property to "no" if you want to read the content of the temp files to debug an error. -->
24
25 <property name="output.dir" location="../output"/>
26 <property name="outdir" location ="../output"/>
27 <property name="clean.temp" value="no"/>
28
29 <!-- The Apache FOP formatter does not support indexing for the dita2pdf2 transtype. Set this property to "no" to -->
30 <!-- prevent an unusable index link appearing in your document project. -->
31 <property name="args.indexshow" value="no"/>
32
33 <!-- The MAP_file property contains the name of the .ditamap for the project. -->
34 <!-- The map_dir property specifies the directory where this .ditamap and others reside. -->
35 <!-- You can easily provide topic-level filtering of your projects by using a different .ditamap -->
36 <!-- file. This option may be easier for some documentation projects than content-level filtering, -->
37 <!-- creating a separate .ditaval file and inserting otherprops attributes in your content files. -->
38 <!--<property name="map_dir" value="../.." /> -->
39 <property name="MAP_file" value="../quickstartguide.ditamap"/>
40
41 <!-- The outer.control property suppresses certain trivial errors in the log. -->
42 <!-- <property name="outer.control" value="quiet" /> -->
43
44 <target name="dita2pdf">
45 <ant antfile="${DITA_DIR}/build.xml" target="init">
46 <property name="transtype" value="pdf2"/>
47 <property name="args.input" value="${MAP_file}"/>
48 <property name="dita.temp.dir" value="${outdir}/temp_pdf"/>
49 <property name="output.dir" value="${outdir}/pdf"/>
50 <property name="outer.control" value="quiet"/>
51 <property name="clean.temp" value="yes"/>
52 </ant>
53 </target>
54
55 <!-- Target for creating Microsoft HTML Help system. -->
56 <target name="dita2htmlhelp" depends="integrate">
57 <ant antfile="${DITA_DIR}/build.xml" target="init">
58 <property name="transtype" value="htmlhelp"/>
59 <property name="args.input" value="${MAP_file}"/>
60 <property name="output.dir" value="${outdir}/htmlhelp"/>
61 <property name="dita.temp.dir" value="${outdir}/temp_htmlhelp"/>
62 <property name="args.outext" value=".html"/>
63 <property name="out.ext" value=".html"/>
64 <property name="args.draft" value="yes"/>
65 <property name="dita.extname" value=".dita"/>
66 </ant>
67 </target>
68
69 <!-- Target for creating XHTML documentation. -->
70 <target name="dita2xhtml" depends="integrate">
71 <ant antfile="${DITA_DIR}/build.xml" target="init">
72 <property name="transtype" value="xhtml"/>
73 <property name="args.input" value="${MAP_file}"/>
74 <property name="dita.temp.dir" value="${outdir}/temp_xhtml"/>
75 <property name="args.outext" value=".html"/>
76 <property name="args.xhtml.toc" value="index"/>
77 <property name="output.dir" value="${outdir}/xhtml"/>
78 <property name="outer.control" value="quiet"/>
79 </ant>
80 </target>
81 <!-- Target for Eclipse plugin -->
82 <target name="dita2eclipsecontent">
83 <ant antfile="${DITA_DIR}/build.xml" target="init">
84 <property name="args.input" value="${MAP_file}"/>
85 <property name="output.dir" value="${outdir}/eclipsecontent"/>
86 <property name="dita.temp.dir" value="${outdir}/temp_eclipsecontent"/>
87 <property name="transtype" value="eclipsecontent"/>
88 <property name="args.indexshow" value="yes"/>
89 <property name="dita.extname" value=".dita"/>
90 </ant>
91 </target>
92 <!-- Target for Eclipse Help system -->
93 <target name="dita2eclipsehelp">
94 <ant antfile="${DITA_DIR}/build.xml" target="init">
95 <property name="args.input" value="${MAP_file}"/>
96 <property name="output.dir" value="${outdir}/eclipsehelp"/>
97 <property name="dita.temp.dir" value="${outdir}/temp_eclipsehelp"/>
98 <property name="transtype" value="eclipsehelp"/>
99 <property name="args.draft" value="yes"/>
100 <property name="args.indexshow" value="yes"/>
101 <property name="dita.extname" value=".dita"/>
102 </ant>
103 </target>
104</project>
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette