Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 266 lines (236 sloc) 13.632 kb
c8f8e34 Fixed default target which did not exist
egonw authored
1 <project name="CDK" default="html" basedir=".">
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
2
0e9e5ef Added version info to JavaDoc html output, and share this with the build...
egonw authored
3 <property file="build.props"/>
4
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
5 <!-- $Id$ -->
6
2ea0899 Added target for creating JavaDoc for the heavily used vecmath library
egonw authored
7 <property name="vecmath.src" value="gcj/vecmath" />
8 <property name="vecmath.javadoc.dir" value="doc/vecmath/api" />
9
10 <property name="src" value="src" />
130689a Egon Willighagen Use the proper folder name, including the CDK version
authored
11 <property name="javadoc.dir" value="doc/cdk-javadoc-${version}" />
1bda75a Added task for doxygen, but still finetuning it
egonw authored
12 <property name="doxygen.dir" value="doc/doxygen" />
2ea0899 Added target for creating JavaDoc for the heavily used vecmath library
egonw authored
13
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
14 <property name="pathtojava3d" value="" />
67d76d0 Egon Willighagen Fixed OJDCheck validation
authored
15
16 <!-- directories -->
ea31330 Fixed javadoc generation process
egonw authored
17 <property name="build" value="build" />
67d76d0 Egon Willighagen Fixed OJDCheck validation
authored
18 <property name="lib" value="jar" />
19 <property name="devellib" value="develjar" />
3152dd0 Egon Willighagen Fixed OpenJavaDocCheck reporting: added two missing property values
authored
20 <property name="dist" value="dist" />
21 <property name="metainf" value="${src}/META-INF" />
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
22
1f8bb2d gilleain torrance Improved javadoc generation using a link tag, so that references to java...
gilleain authored
23 <!-- Used in the html task to properly link to java library classes -->
24 <property name="javaURL" value="http://java.sun.com/j2se/1.5.0/docs/api/"/>
25
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
26 <path id="project.class.path">
27 <pathelement location="." />
28 <fileset dir="jar">
29 <include name="*.jar" />
30 </fileset>
31 <fileset dir="${pathtojava3d}">
32 <include name="*.jar" />
33 </fileset>
34 </path>
35
1bda75a Added task for doxygen, but still finetuning it
egonw authored
36 <taskdef name="doxygen" classname="org.doxygen.tools.DoxygenTask"
37 classpath="develjar/ant_doxygen.jar" />
50eed59 Removed obsolete target
egonw authored
38
1bda75a Added task for doxygen, but still finetuning it
egonw authored
39 <target name="doxygen" id="doxygen">
40 <mkdir dir="${doxygen.dir}" />
41 <doxygen>
42 <property name="INPUT" value="src/" />
43 <property name="PROJECT_NAME" value="The Chemistry Development Kit" />
44 <property name="OUTPUT_DIRECTORY" value="${doxygen.dir}" />
45 <property name="OPTIMIZE_OUTPUT_JAVA" value="YES" />
46 <property name="UML_LOOK" value="YES" />
47 <property name="ALIASES" value='"cdk.module=Is part of the CDK module:"' />
48 </doxygen>
49 </target>
50
aeba8a8 Added two JavaDoc taglets: one for cdk.module which links tags to the CD...
egonw authored
51 <target name="html" depends="compileTaglets">
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
52 <mkdir dir="${javadoc.dir}" />
53
ea31330 Fixed javadoc generation process
egonw authored
54 <!-- Call javacc target in build.xml to re-generate the source code -->
55 <ant antfile="build.xml" target="javacc"/>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
56 <tstamp>
6d9cf33 Updated javadoc build file to insert current date rather than a fixed ve...
rajarshi authored
57 <format property="TODAY_SVN" pattern="yyyyMMdd" locale="en" />
58 </tstamp>
7f6cdb0 Added rendering of JavaDoc @jar tag.
egonw authored
59 <javadoc destdir="${javadoc.dir}"
08b1a6d New CDK release. And moved JavaDoc generation back to javadoc.xml.
egonw authored
60 author="true" version="true" use="true"
b6e6ebb Fixed/Updated some core.pdf and API html generation things.
egonw authored
61 public="true"
1f4f3ce Turned off verbose mode.
egonw authored
62 windowtitle="CDK API - version ${TODAY_SVN}">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
63 <classpath>
64 <pathelement location="." />
65 <fileset dir="jar">
66 <include name="*.jar" />
67 </fileset>
da493da Egon Willighagen Fixed false positives about missing Jena classes, by including those jar...
authored
68 <fileset dir="jar/jena">
69 <include name="*.jar" />
70 </fileset>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
71 <dirset dir="src/main">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
72 <include name="net/**/*"/>
73 </dirset>
74 </classpath>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
75 <tag name="cdk.set" scope="all" description="Belongs to the set:" />
f431cc4 JavaDoc keyword tag -> @cdk.keyword
egonw authored
76 <tag name="cdk.keyword" scope="all" description="Keywords:" />
ab94e04 JavaDoc created tag -> @cdk.created
egonw authored
77 <tag name="cdk.created" scope="all" description="Created on:" />
1a26c0c Fixed location of sources (no longer in build/src) and added HTML output...
egonw authored
78 <tag name="cdk.require" scope="all" description="Requires:" />
ac2968d First two JavaDoc tags put into namespace 'cdk': @depends -> @cdk.depend...
egonw authored
79 <tag name="cdk.depends" scope="all" description="Required library to be able to run this class:" />
80 <tag name="cdk.builddepends" scope="all" description="Required library to be able to compile this class:" />
546bae9 Fixed a set of JavaDoc errors
egonw authored
81 <tag name="cdk.todo" scope="all" description="To do:" />
41e801f Added @cdk.license tag
egonw authored
82 <tag name="cdk.license" scope="all" description="License:" />
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
83 <taglet name="net.sf.cdk.tools.doclets.CDKCiteTaglet" path="jar/xom-1.1.jar:src/main" />
84 <taglet name="net.sf.cdk.tools.doclets.CDKModuleTaglet" path="jar/xom-1.1.jar:src/main" />
85 <taglet name="net.sf.cdk.tools.doclets.CDKBugTaglet" path="jar/xom-1.1.jar:src/main" />
86 <taglet name="net.sf.cdk.tools.doclets.CDKDictRefTaglet" path="jar/xom-1.1.jar:src/main" />
87 <taglet name="net.sf.cdk.tools.doclets.CDKInChITaglet" path="jar/xom-1.1.jar:src/main" />
2e562a2 Egon Willighagen Added taglets for threading safety
authored
88 <taglet name="net.sf.cdk.tools.doclets.CDKThreadSafeTaglet" path="jar/xom-1.1.jar:src/main" />
89 <taglet name="net.sf.cdk.tools.doclets.CDKThreadNonSafeTaglet" path="jar/xom-1.1.jar:src/main" />
348ea9d Rajarshi Guha Added new taglet to process cdk.githash tag and link Javadocs to sources...
rajarshi authored
90 <taglet name="net.sf.cdk.tools.doclets.CDKGitTaglet" path="jar/xom-1.1.jar:src/main" />
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
91 <packageset dir="${src}/main" defaultexcludes="yes">
a61ebd6 Ummm... now for all classes again.
egonw authored
92 <include name="org/openscience/cdk/**" />
7f6cdb0 Added rendering of JavaDoc @jar tag.
egonw authored
93 </packageset>
1f8bb2d gilleain torrance Improved javadoc generation using a link tag, so that references to java...
gilleain authored
94 <link href="${javaURL}"/>
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
95 </javadoc>
96 </target>
97
2ea0899 Added target for creating JavaDoc for the heavily used vecmath library
egonw authored
98 <target name="vecmath.html">
99 <mkdir dir="${vecmath.javadoc.dir}" />
100
101 <javadoc destdir="${vecmath.javadoc.dir}"
102 author="true" version="true" use="true"
103 public="true"
104 windowtitle="VecMath API">
105 <classpath refid="project.class.path" />
106 <packageset dir="${vecmath.src}" defaultexcludes="yes">
107 <include name="javax/vecmath/**" />
108 </packageset>
109 </javadoc>
110 </target>
111
1dd9647 Added IUPAC name parser
stomkinson authored
112 <target name="jjdoc" description="Create JJDoc documentation from the .jj file">
113 <mkdir dir="doc/iupac-parser"/>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
114 <jjdoc target="${src}/main/org/openscience/cdk/iupac/parser/NomParser.jj"
1dd9647 Added IUPAC name parser
stomkinson authored
115 outputfile="doc/iupac-parser/ParserBNF.html"
116 javacchome="jar"/>
117 </target>
118
76504c7 Egon Willighagen Fixed javadoc xml syntax
authored
119 <target name="ojdcheck" depends="compileDocTests">
bd65ebd Egon Willighagen Only run the CDK-JChemPaint specific tests
authored
120 <antcall target="ojdcheck-module"><param name="module" value="render"/></antcall>
121 <antcall target="ojdcheck-module"><param name="module" value="renderbasic"/></antcall>
122 <antcall target="ojdcheck-module"><param name="module" value="renderextra"/></antcall>
123 <antcall target="ojdcheck-module"><param name="module" value="rendercontrol"/></antcall>
124 <antcall target="ojdcheck-module"><param name="module" value="renderawt"/></antcall>
125 <antcall target="ojdcheck-module"><param name="module" value="rendersvg"/></antcall>
126 <antcall target="ojdcheck-module"><param name="module" value="control"/></antcall>
127 <antcall target="ojdcheck-module"><param name="module" value="controlbasic"/></antcall>
128 <antcall target="ojdcheck-module"><param name="module" value="controlextra"/></antcall>
129 <antcall target="ojdcheck-module"><param name="module" value="controlawt"/></antcall>
130 </target>
131
132 <target name="ojdcheck-original" depends="compileDocTests">
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
133 <antcall target="ojdcheck-module"><param name="module" value="interfaces"/></antcall>
134 <antcall target="ojdcheck-module"><param name="module" value="core"/></antcall>
751488b Egon Willighagen Set up a CIP module.
authored
135 <antcall target="ojdcheck-module"><param name="module" value="cip"/></antcall>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
136 <antcall target="ojdcheck-module"><param name="module" value="data"/></antcall>
137 <antcall target="ojdcheck-module"><param name="module" value="datadebug"/></antcall>
138 <antcall target="ojdcheck-module"><param name="module" value="nonotify"/></antcall>
139 <antcall target="ojdcheck-module"><param name="module" value="standard"/></antcall>
140 <antcall target="ojdcheck-module"><param name="module" value="atomtype"/></antcall>
b2d4f85 Egon Willighagen Added code testing for the dict module
authored
141 <antcall target="ojdcheck-module"><param name="module" value="dict"/></antcall>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
142 <antcall target="ojdcheck-module"><param name="module" value="io"/></antcall>
143 <antcall target="ojdcheck-module"><param name="module" value="ioformats"/></antcall>
a346769 Egon Willighagen Added iordf to the ojdcheck target
authored
144 <antcall target="ojdcheck-module"><param name="module" value="iordf"/></antcall>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
145 <antcall target="ojdcheck-module"><param name="module" value="inchi"/></antcall>
146 <antcall target="ojdcheck-module"><param name="module" value="extra"/></antcall>
147 <antcall target="ojdcheck-module"><param name="module" value="fingerprint"/></antcall>
148 <antcall target="ojdcheck-module"><param name="module" value="formula"/></antcall>
149 <antcall target="ojdcheck-module"><param name="module" value="render"/></antcall>
150 <antcall target="ojdcheck-module"><param name="module" value="reaction"/></antcall>
151 <antcall target="ojdcheck-module"><param name="module" value="libiocml"/></antcall>
152 <antcall target="ojdcheck-module"><param name="module" value="libiomd"/></antcall>
45b67e5 Egon Willighagen Added missing JavaDoc checking for renderbasic and log4j
authored
153 <antcall target="ojdcheck-module"><param name="module" value="log4j"/></antcall>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
154 <antcall target="ojdcheck-module"><param name="module" value="builder3d"/></antcall>
155 <antcall target="ojdcheck-module"><param name="module" value="smiles"/></antcall>
156 <antcall target="ojdcheck-module"><param name="module" value="smarts"/></antcall>
157 <antcall target="ojdcheck-module"><param name="module" value="sdg"/></antcall>
b73a662 Egon Willighagen Enabled PMD and OJDC for the tautomer module
authored
158 <antcall target="ojdcheck-module"><param name="module" value="tautomer"/></antcall>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
159 <antcall target="ojdcheck-module"><param name="module" value="forcefield"/></antcall>
160 <antcall target="ojdcheck-module"><param name="module" value="pdb"/></antcall>
161 <antcall target="ojdcheck-module"><param name="module" value="qsar"/></antcall>
162 <antcall target="ojdcheck-module"><param name="module" value="qsaratomic"/></antcall>
163 <antcall target="ojdcheck-module"><param name="module" value="qsarbond"/></antcall>
164 <antcall target="ojdcheck-module"><param name="module" value="qsarionpot"/></antcall>
165 <antcall target="ojdcheck-module"><param name="module" value="qsarmolecular"/></antcall>
166 <antcall target="ojdcheck-module"><param name="module" value="qsarprotein"/></antcall>
167 <antcall target="ojdcheck-module"><param name="module" value="pcore"/></antcall>
168 <antcall target="ojdcheck-module"><param name="module" value="structgen"/></antcall>
169 <antcall target="ojdcheck-module"><param name="module" value="valencycheck"/></antcall>
170 <antcall target="ojdcheck-module"><param name="module" value="charges"/></antcall>
171 <antcall target="ojdcheck-module"><param name="module" value="diff"/></antcall>
10edb71 Syed Asad Rahman The big SMSD patch.
asad authored
172 <antcall target="ojdcheck-module"><param name="module" value="smsd"/></antcall>
7617074 Egon Willighagen Added JavaDoc HTML generation for the signature module
authored
173 <antcall target="ojdcheck-module"><param name="module" value="signature"/></antcall>
40bdc12 Egon Willighagen Fixed syntax, by putting the antcall at a proper place
authored
174 <antcall target="ojdcheck-module"><param name="module" value="renderawt"/></antcall>
45b67e5 Egon Willighagen Added missing JavaDoc checking for renderbasic and log4j
authored
175 <antcall target="ojdcheck-module"><param name="module" value="renderbasic"/></antcall>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
176 </target>
177
178 <target name="ojdcheck-module">
179 <mkdir dir="reports/ojdcheck/"/>
180 <mkdir dir="${build}/src/${module}"/>
181 <copy todir="${build}/src/${module}">
182 <fileset dir="${src}/main">
183 <includesfile name="${build}/${module}.javafiles"/>
184 </fileset>
185 </copy>
263c7e2 Egon Willighagen Fixed classpath to solve those annoying error messages about unknown pac...
authored
186
187 <!-- check for availability for meta info files -->
188 <available file="${metainf}/${module}.cdkdepends" property="module.cdkdepends.present"/>
189 <available file="${metainf}/${module}.libdepends" property="module.libdepends.present"/>
190 <available file="${metainf}/${module}.devellibdepends" property="module.devellibdepends.present"/>
191
192 <javadoc private="false" public="true">
193 <classpath>
2701ea6 Egon Willighagen Include CDK deps in the classpath, to not get false positive warnings ab...
authored
194 <fileset dir="${dist}/jar" >
195 <exclude name="**/*" unless="module.cdkdepends.present" />
196 <includesfile name="${metainf}/${module}.cdkdepends" if="module.cdkdepends.present" />
197 </fileset>
263c7e2 Egon Willighagen Fixed classpath to solve those annoying error messages about unknown pac...
authored
198 <fileset dir="${lib}" >
199 <exclude name="**/*" unless="module.libdepends.present" />
200 <includesfile name="${metainf}/${module}.libdepends" if="module.libdepends.present" />
201 </fileset>
202 <fileset dir="${devellib}">
203 <exclude name="**/*" unless="module.devellibdepends.present" />
204 <includesfile name="${metainf}/${module}.devellibdepends" if="module.devellibdepends.present" />
67d76d0 Egon Willighagen Fixed OJDCheck validation
authored
205 </fileset>
263c7e2 Egon Willighagen Fixed classpath to solve those annoying error messages about unknown pac...
authored
206 </classpath>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
207
208 <doclet name="com.github.ojdcheck.OpenJavaDocCheck"
9364179 Egon Willighagen Removed the OpenJavaDocCheck Jazzy extension which was not supposed to g...
authored
209 path="develjar/ojdcheck.jar:src/main">
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
210 <param name="-xhtml"/>
211 <param name="-file"
212 value="reports/ojdcheck/${module}.html"/>
213 <param name="-tests"
9364179 Egon Willighagen Removed the OpenJavaDocCheck Jazzy extension which was not supposed to g...
authored
214 value="net.sf.cdk.tools.checkdoctest.MissingGithashTagletTest,net.sf.cdk.tools.checkdoctest.MissingModuleTagletTest,net.sf.cdk.tools.checkdoctest.IncorrectBugNumberTagletTest"/>
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
215 </doclet>
216 <sourcepath>
217 <pathelement path="${build}/src/${module}"/>
218 </sourcepath>
219 </javadoc>
220 </target>
221
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
222 <target id="check" name="check">
223 <condition property="isMacOsX">
224 <and>
225 <os family="mac"/>
226 <os family="unix"/>
227 </and>
228 </condition>
229 </target>
230
231 <target name="compileTaglets" id="compileTaglets" depends="check, compileTaglets.MacOSX, compileTaglets.Other" />
232
233 <target name="compileTaglets.MacOSX" id="compileTaglets.MacOSX" if="isMacOsX">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
234 <javac srcdir="src" destdir="src"
235 includes="*Taglet.java" debug="on" optimize="off"/>
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
236 </target>
237
238 <target name="compileTaglets.Other" id="compileTaglets.Other" unless="isMacOsX">
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
239 <javac srcdir="src/main" destdir="src/main"
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
240 includes="net/sf/cdk/tools/**/*Taglet.java" debug="on" optimize="off">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
241 <classpath>
242 <fileset dir="jar/">
243 <include name="xom-1.1.jar" />
244 </fileset>
245 </classpath>
246 </javac>
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
247 </target>
49394ac Added task to get JavaDoc error overviews
egonw authored
248
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
249 <target name="compileDocTests" id="compileDocTests"
250 depends="check">
251 <javac srcdir="src/main" destdir="src/main"
252 includes="net/sf/cdk/tools/checkdoctest/*Test.java"
253 debug="on" optimize="off">
254 <classpath>
255 <fileset dir="develjar/">
256 <include name="ojdcheck.jar" />
41cce39 Egon Willighagen Ensure the OpenJavaDocCheck plugins are compiled
authored
257 <include name="com-sun-*.jar" />
02c335a Egon Willighagen Added OpenJavaDocCheck library (new BSD licensed) and written a custom J...
authored
258 </fileset>
259 </classpath>
260 </javac>
261 </target>
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
262 </project>
263
264
265
Something went wrong with that request. Please try again.