-
Notifications
You must be signed in to change notification settings - Fork 24
/
javadoc.xml
executable file
·251 lines (223 loc) · 12.3 KB
/
javadoc.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<project name="CDK" default="html" basedir=".">
<property file="build.props"/>
<!-- $Id$ -->
<property name="vecmath.src" value="gcj/vecmath" />
<property name="vecmath.javadoc.dir" value="doc/vecmath/api" />
<property name="src" value="src" />
<property name="javadoc.dir" value="doc/cdk-javadoc-${version}" />
<property name="doxygen.dir" value="doc/doxygen" />
<property name="pathtojava3d" value="" />
<!-- directories -->
<property name="build" value="build" />
<property name="lib" value="jar" />
<property name="devellib" value="develjar" />
<property name="dist" value="dist" />
<property name="metainf" value="${src}/META-INF" />
<!-- Used in the html task to properly link to java library classes -->
<property name="javaURL" value="http://java.sun.com/j2se/1.5.0/docs/api/"/>
<path id="project.class.path">
<pathelement location="." />
<fileset dir="jar">
<include name="*.jar" />
</fileset>
<fileset dir="${pathtojava3d}">
<include name="*.jar" />
</fileset>
</path>
<taskdef name="doxygen" classname="org.doxygen.tools.DoxygenTask"
classpath="develjar/ant_doxygen.jar" />
<target name="doxygen" id="doxygen">
<mkdir dir="${doxygen.dir}" />
<doxygen>
<property name="INPUT" value="src/" />
<property name="PROJECT_NAME" value="The Chemistry Development Kit" />
<property name="OUTPUT_DIRECTORY" value="${doxygen.dir}" />
<property name="OPTIMIZE_OUTPUT_JAVA" value="YES" />
<property name="UML_LOOK" value="YES" />
<property name="ALIASES" value='"cdk.module=Is part of the CDK module:"' />
</doxygen>
</target>
<target name="html" depends="compileTaglets">
<mkdir dir="${javadoc.dir}" />
<!-- Call javacc target in build.xml to re-generate the source code -->
<ant antfile="build.xml" target="javacc"/>
<tstamp>
<format property="TODAY_SVN" pattern="yyyyMMdd" locale="en" />
</tstamp>
<javadoc destdir="${javadoc.dir}"
author="true" version="true" use="true"
public="true"
windowtitle="CDK API - version ${TODAY_SVN}">
<classpath>
<pathelement location="." />
<fileset dir="jar">
<include name="*.jar" />
</fileset>
<fileset dir="jar/jena">
<include name="*.jar" />
</fileset>
<dirset dir="src/main">
<include name="net/**/*"/>
</dirset>
</classpath>
<tag name="cdk.set" scope="all" description="Belongs to the set:" />
<tag name="cdk.keyword" scope="all" description="Keywords:" />
<tag name="cdk.created" scope="all" description="Created on:" />
<tag name="cdk.require" scope="all" description="Requires:" />
<tag name="cdk.depends" scope="all" description="Required library to be able to run this class:" />
<tag name="cdk.builddepends" scope="all" description="Required library to be able to compile this class:" />
<tag name="cdk.todo" scope="all" description="To do:" />
<tag name="cdk.license" scope="all" description="License:" />
<taglet name="net.sf.cdk.tools.doclets.CDKCiteTaglet" path="jar/xom-1.1.jar:src/main" />
<taglet name="net.sf.cdk.tools.doclets.CDKModuleTaglet" path="jar/xom-1.1.jar:src/main" />
<taglet name="net.sf.cdk.tools.doclets.CDKBugTaglet" path="jar/xom-1.1.jar:src/main" />
<taglet name="net.sf.cdk.tools.doclets.CDKDictRefTaglet" path="jar/xom-1.1.jar:src/main" />
<taglet name="net.sf.cdk.tools.doclets.CDKInChITaglet" path="jar/xom-1.1.jar:src/main" />
<taglet name="net.sf.cdk.tools.doclets.CDKThreadSafeTaglet" path="jar/xom-1.1.jar:src/main" />
<taglet name="net.sf.cdk.tools.doclets.CDKThreadNonSafeTaglet" path="jar/xom-1.1.jar:src/main" />
<taglet name="net.sf.cdk.tools.doclets.CDKGitTaglet" path="jar/xom-1.1.jar:src/main" />
<packageset dir="${src}/main" defaultexcludes="yes">
<include name="org/openscience/cdk/**" />
</packageset>
<link href="${javaURL}"/>
</javadoc>
</target>
<target name="vecmath.html">
<mkdir dir="${vecmath.javadoc.dir}" />
<javadoc destdir="${vecmath.javadoc.dir}"
author="true" version="true" use="true"
public="true"
windowtitle="VecMath API">
<classpath refid="project.class.path" />
<packageset dir="${vecmath.src}" defaultexcludes="yes">
<include name="javax/vecmath/**" />
</packageset>
</javadoc>
</target>
<target name="jjdoc" description="Create JJDoc documentation from the .jj file">
<mkdir dir="doc/iupac-parser"/>
<jjdoc target="${src}/main/org/openscience/cdk/iupac/parser/NomParser.jj"
outputfile="doc/iupac-parser/ParserBNF.html"
javacchome="jar"/>
</target>
<target name="ojdcheck" depends="compileDocTests">
<antcall target="ojdcheck-module"><param name="module" value="interfaces"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="core"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="cip"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="data"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="datadebug"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="nonotify"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="standard"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="atomtype"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="dict"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="io"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="ioformats"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="iordf"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="inchi"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="extra"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="fingerprint"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="formula"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="render"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="reaction"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="libiocml"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="libiomd"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="log4j"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="builder3d"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="smiles"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="smarts"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="sdg"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="tautomer"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="forcefield"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="pdb"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="qsar"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="qsaratomic"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="qsarbond"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="qsarionpot"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="qsarmolecular"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="qsarprotein"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="pcore"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="structgen"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="valencycheck"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="charges"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="diff"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="smsd"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="signature"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="renderawt"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="renderbasic"/></antcall>
</target>
<target name="ojdcheck-module">
<mkdir dir="reports/ojdcheck/"/>
<mkdir dir="${build}/src/${module}"/>
<copy todir="${build}/src/${module}">
<fileset dir="${src}/main">
<includesfile name="${build}/${module}.javafiles"/>
</fileset>
</copy>
<!-- check for availability for meta info files -->
<available file="${metainf}/${module}.cdkdepends" property="module.cdkdepends.present"/>
<available file="${metainf}/${module}.libdepends" property="module.libdepends.present"/>
<available file="${metainf}/${module}.devellibdepends" property="module.devellibdepends.present"/>
<javadoc private="false" public="true">
<classpath>
<fileset dir="${dist}/jar" >
<exclude name="**/*" unless="module.cdkdepends.present" />
<includesfile name="${metainf}/${module}.cdkdepends" if="module.cdkdepends.present" />
</fileset>
<fileset dir="${lib}" >
<exclude name="**/*" unless="module.libdepends.present" />
<includesfile name="${metainf}/${module}.libdepends" if="module.libdepends.present" />
</fileset>
<fileset dir="${devellib}">
<exclude name="**/*" unless="module.devellibdepends.present" />
<includesfile name="${metainf}/${module}.devellibdepends" if="module.devellibdepends.present" />
</fileset>
</classpath>
<doclet name="com.github.ojdcheck.OpenJavaDocCheck"
path="develjar/ojdcheck.jar:src/main">
<param name="-xhtml"/>
<param name="-file"
value="reports/ojdcheck/${module}.html"/>
<param name="-tests"
value="net.sf.cdk.tools.checkdoctest.MissingGithashTagletTest,net.sf.cdk.tools.checkdoctest.MissingModuleTagletTest,net.sf.cdk.tools.checkdoctest.IncorrectBugNumberTagletTest"/>
</doclet>
<sourcepath>
<pathelement path="${build}/src/${module}"/>
</sourcepath>
</javadoc>
</target>
<target id="check" name="check">
<condition property="isMacOsX">
<and>
<os family="mac"/>
<os family="unix"/>
</and>
</condition>
</target>
<target name="compileTaglets" id="compileTaglets" depends="check, compileTaglets.MacOSX, compileTaglets.Other" />
<target name="compileTaglets.MacOSX" id="compileTaglets.MacOSX" if="isMacOsX">
<javac srcdir="src" destdir="src"
includes="*Taglet.java" debug="on" optimize="off"/>
</target>
<target name="compileTaglets.Other" id="compileTaglets.Other" unless="isMacOsX">
<javac srcdir="src/main" destdir="src/main"
includes="net/sf/cdk/tools/**/*Taglet.java" debug="on" optimize="off">
<classpath>
<fileset dir="jar/">
<include name="xom-1.1.jar" />
</fileset>
</classpath>
</javac>
</target>
<target name="compileDocTests" id="compileDocTests"
depends="check">
<javac srcdir="src/main" destdir="src/main"
includes="net/sf/cdk/tools/checkdoctest/*Test.java"
debug="on" optimize="off">
<classpath>
<fileset dir="develjar/">
<include name="ojdcheck.jar" />
</fileset>
</classpath>
</javac>
</target>
</project>