VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/build_template.xml@ 98838

Last change on this file since 98838 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: 9.1 KB
Line 
1<?xml version="1.0"?>
2<!-- This file is part of the DITA Open Toolkit project hosted on
3 Sourceforge.net. See the accompanying license.txt file for
4 applicable licenses.-->
5<!-- (c) Copyright IBM Corp. 2006 All Rights Reserved. -->
6<project xmlns:dita="http://dita-ot.sourceforge.net" name="DOST" default="init">
7
8 <property file="${basedir}/local.properties"/>
9
10 <!-- Initialize DITA-OT base directory -->
11 <dirname property="ant.file.DOST.dir" file="${ant.file.DOST}" />
12 <condition property="dita.dir" value="${ant.file.DOST.dir}">
13 <not>
14 <isset property="dita.dir" />
15 </not>
16 </condition>
17 <condition property="dita.dir" value="${basedir}">
18 <not>
19 <isset property="dita.dir" />
20 </not>
21 </condition>
22
23 <path id="dost.class.path">
24 <dita:extension id="dita.conductor.lib.import" behavior="org.dita.dost.platform.ImportAntLibAction"/>
25 <pathelement location="${dita.dir}${file.separator}lib${file.separator}dost.jar"/>
26 </path>
27
28 <target name="init">
29 <dita-ot-fail id="DOTA001F">
30 <condition>
31 <and>
32 <dita:extension id="dita.conductor.transtype.check" behavior="org.dita.dost.platform.CheckTranstypeAction"/>
33 </and>
34 </condition>
35 <param name="1" value="${transtype}"/>
36 </dita-ot-fail>
37 <condition property="transtarget" value="pdf2" else="${transtype}">
38 <equals arg1="${transtype}" arg2="pdf" casesensitive="false"/>
39 </condition>
40 <condition property="clean.temp" value="true">
41 <not><isset property="clean.temp"/></not>
42 </condition>
43 <condition property="clean-temp.skip">
44 <isfalse value="${clean.temp}"/>
45 </condition>
46 <antcall>
47 <target name="dita2${transtarget}"/>
48 <target name="clean-temp"/>
49 </antcall>
50 </target>
51
52 <dita:extension id="dita.conductor.plugin" behavior="org.dita.dost.platform.ImportPluginInfoAction"/>
53 <dita:extension id="dita.conductor.target" behavior="org.dita.dost.platform.InsertAction"/>
54 <dita:extension id="dita.conductor.target.relative" behavior="org.dita.dost.platform.InsertAntActionRelative"/>
55
56 <target name="help">
57 <echo level="info">Mandatory properties:</echo>
58 <echo level="info"/>
59 <echo level="info"> args.input=&lt;file&gt;</echo>
60 <echo level="info"> Path and name of the input file.</echo>
61 <echo level="info"/>
62 <echo level="info"> transtype={<dita:extension id="dita.conductor.transtype.check" behavior="org.dita.dost.platform.ListTranstypeAction" separator="|"/>}</echo>
63 <echo level="info"> Transformation type.</echo>
64 <echo level="info"/>
65 <echo level="info">Optional properties:</echo>
66 <echo level="info"/>
67 <echo level="info"> args.logdir=&lt;dir&gt;</echo>
68 <echo level="info"> Log directory.</echo>
69 <echo level="info"/>
70 <echo level="info"> args.draft={yes|no}</echo>
71 <echo level="info"> Specify whether to output draft info. Default is "no".</echo>
72 <echo level="info"/>
73 <echo level="info"> args.ftr=&lt;file&gt;</echo>
74 <echo level="info"> File to be placed in the BODY running-footing area.</echo>
75 <echo level="info"/>
76 <echo level="info"> args.hdr=&lt;file&gt;</echo>
77 <echo level="info"> File to be placed in the BODY running-heading area.</echo>
78 <echo level="info"/>
79 <echo level="info"> args.hdf=&lt;file&gt;</echo>
80 <echo level="info"> File to be placed in the HEAD area.</echo>
81 <echo level="info"/>
82 <echo level="info"> args.csspath=&lt;file|url&gt;</echo>
83 <echo level="info"> Path for CSS reference.</echo>
84 <echo level="info"/>
85 <echo level="info"> args.css=&lt;file&gt;</echo>
86 <echo level="info"> User CSS file.</echo>
87 <echo level="info"/>
88 <echo level="info"> args.cssroot=&lt;dir&gt;</echo>
89 <echo level="info"> Root directory for user specified CSS file.</echo>
90 <echo level="info"/>
91 <echo level="info"> args.copycss={yes|no}</echo>
92 <echo level="info"> Copy user specified CSS files. Default is "no".</echo>
93 <echo level="info"/>
94 <echo level="info"> args.indexshow={yes|no}</echo>
95 <echo level="info"> Index entries should display within the body of the text itself. Default is "no".</echo>
96 <echo level="info"/>
97 <echo level="info"> args.outext=&lt;ext&gt;</echo>
98 <echo level="info"> Output file extension for generated XHTML files. Default is ".html".</echo>
99 <echo level="info"/>
100 <echo level="info"> args.xsl=&lt;file&gt;</echo>
101 <echo level="info"> XSLT file used to replace the default XSLT file.</echo>
102 <echo level="info"/>
103 <echo level="info"> args.xsl.pdf=&lt;file&gt;</echo>
104 <echo level="info"> XSLT file used to replace the default XSLT file when transforming PDF.</echo>
105 <echo level="info"/>
106 <echo level="info"> args.odt.include.rellinks={none|all|nofamily}</echo>
107 <echo level="info"> Determine which links are included in the ODT. Default is "none".</echo>
108 <echo level="info"/>
109 <echo level="info"> args.javahelp.toc=&lt;file&gt;</echo>
110 <echo level="info"> Root file name of the output javahelp toc file in javahelp transformation. Default is the name of the input ditamap file.</echo>
111 <echo level="info"/>
112 <echo level="info"> args.javahelp.map=&lt;file&gt;</echo>
113 <echo level="info"> Root file name of the output javahelp map file in javahelp transformation. Default is the name of the input ditamap file.</echo>
114 <echo level="info"/>
115 <echo level="info"> args.eclipsehelp.toc=&lt;file&gt;</echo>
116 <echo level="info"> Root file name of the output eclipsehelp toc file in eclipsehelp transformation. Default is the name of the input ditamap file.</echo>
117 <echo level="info"/>
118 <echo level="info"> args.eclipsecontent.toc=&lt;file&gt;</echo>
119 <echo level="info"> Root file name of the output Eclipse content provider toc file in eclipsecontent transformation. Default is the name of the input ditamap file.</echo>
120 <echo level="info"/>
121 <echo level="info"> args.debug={yes|no}</echo>
122 <echo level="info"> Extra debug information should be included in the log. Default is "no".</echo>
123 <echo level="info"/>
124 <echo level="info"> args.grammar.cache={yes|no}</echo>
125 <echo level="info"> Use grammar pool caching when parsing dita files. Default is "yes".</echo>
126 <echo level="info"/>
127 <echo level="info"> args.odt.img.embed={yes|no}</echo>
128 <echo level="info"> Embedding images as binary data in ODT transform. Default is "yes".</echo>
129 <echo level="info"/>
130 <echo level="info"> args.xhtml.toc=&lt;file&gt;</echo>
131 <echo level="info"> Root file name of the output XHTML toc file in XHTML transformation.</echo>
132 <echo level="info"/>
133 <echo level="info"> args.xhtml.classattr={yes|no}</echo>
134 <echo level="info"> DITA element names and ancestry are included in XHTML class attributes. Default is "yes".</echo>
135 <echo level="info"/>
136 <echo level="info"> args.gen.task.lbl={YES|NO}</echo>
137 <echo level="info"> DITA Task sections should get headings. Default is "NO".</echo>
138 <echo level="info"/>
139 <echo level="info"> artlbl={yes|no}</echo>
140 <echo level="info"> Specify whether to output artwork filenames.</echo>
141 <echo level="info"/>
142 <echo level="info"> basedir=&lt;dir&gt;</echo>
143 <echo level="info"> Working directory.</echo>
144 <echo level="info"/>
145 <echo level="info"> clean.temp={yes|no}</echo>
146 <echo level="info"> Clean the temp directory before each build. Default is "yes".</echo>
147 <echo level="info"/>
148 <echo level="info"> dita.dir=&lt;dir&gt;</echo>
149 <echo level="info"> Toolkit's home directory.</echo>
150 <echo level="info"/>
151 <echo level="info"> dita.temp.dir=&lt;dir&gt;</echo>
152 <echo level="info"> Temporary directory.</echo>
153 <echo level="info"/>
154 <echo level="info"> dita.extname=&lt;ext&gt;</echo>
155 <echo level="info"> File extension name to be used in the temp directory. Default is ".xml".</echo>
156 <echo level="info"/>
157 <echo level="info"> args.filter=&lt;file&gt;</echo>
158 <echo level="info"> Name of the file that contains the filter/flaggin/revision information.</echo>
159 <echo level="info"/>
160 <echo level="info"> generate.copy.outer={1|2|3}</echo>
161 <echo level="info"> Specify how to deal with the overflowing dita/topic files. Default is "1".</echo>
162 <echo level="info"/>
163 <echo level="info"> onlytopic.in.map={true|false}</echo>
164 <echo level="info"> Make dita processor only resolve dita/topic files which are referenced by primary ditamap files. Default is "false".</echo>
165 <echo level="info"/>
166 <echo level="info"> out.dir=&lt;dir&gt;</echo>
167 <echo level="info"> Output directory.</echo>
168 <echo level="info"/>
169 <echo level="info"> outer.control={fail|warn|quiet}</echo>
170 <echo level="info"> Respond to the overflowing dita/topic files. Default is "warn".</echo>
171 <echo level="info"/>
172 <echo level="info"> retain.topic.fo</echo>
173 <echo level="info"> Temporary FO file should be preserved in the output directory. Specify any value, such as "yes", to preserve the file.</echo>
174 <echo level="info"/>
175 <echo level="info"> validate={true|false}</echo>
176 <echo level="info"> Input files are validated. Default is "true".</echo>
177 </target>
178
179</project>
Note: See TracBrowser for help on using the repository browser.

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