Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 218 lines (189 sloc) 10.508 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="" />
ea31330 Fixed javadoc generation process
egonw authored
15 <property name="build" value="build" />
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
16
17 <path id="project.class.path">
18 <pathelement location="." />
19 <fileset dir="jar">
20 <include name="*.jar" />
21 </fileset>
22 <fileset dir="${pathtojava3d}">
23 <include name="*.jar" />
24 </fileset>
25 </path>
26
1bda75a Added task for doxygen, but still finetuning it
egonw authored
27 <taskdef name="doxygen" classname="org.doxygen.tools.DoxygenTask"
28 classpath="develjar/ant_doxygen.jar" />
50eed59 Removed obsolete target
egonw authored
29
1bda75a Added task for doxygen, but still finetuning it
egonw authored
30 <target name="doxygen" id="doxygen">
31 <mkdir dir="${doxygen.dir}" />
32 <doxygen>
33 <property name="INPUT" value="src/" />
34 <property name="PROJECT_NAME" value="The Chemistry Development Kit" />
35 <property name="OUTPUT_DIRECTORY" value="${doxygen.dir}" />
36 <property name="OPTIMIZE_OUTPUT_JAVA" value="YES" />
37 <property name="UML_LOOK" value="YES" />
38 <property name="ALIASES" value='"cdk.module=Is part of the CDK module:"' />
39 </doxygen>
40 </target>
41
aeba8a8 Added two JavaDoc taglets: one for cdk.module which links tags to the CD...
egonw authored
42 <target name="html" depends="compileTaglets">
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
43 <mkdir dir="${javadoc.dir}" />
44
ea31330 Fixed javadoc generation process
egonw authored
45 <!-- Call javacc target in build.xml to re-generate the source code -->
46 <ant antfile="build.xml" target="javacc"/>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
47 <tstamp>
6d9cf33 Updated javadoc build file to insert current date rather than a fixed ve...
rajarshi authored
48 <format property="TODAY_SVN" pattern="yyyyMMdd" locale="en" />
49 </tstamp>
7f6cdb0 Added rendering of JavaDoc @jar tag.
egonw authored
50 <javadoc destdir="${javadoc.dir}"
08b1a6d New CDK release. And moved JavaDoc generation back to javadoc.xml.
egonw authored
51 author="true" version="true" use="true"
b6e6ebb Fixed/Updated some core.pdf and API html generation things.
egonw authored
52 public="true"
1f4f3ce Turned off verbose mode.
egonw authored
53 windowtitle="CDK API - version ${TODAY_SVN}">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
54 <classpath>
55 <pathelement location="." />
56 <fileset dir="jar">
57 <include name="*.jar" />
58 </fileset>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
59 <dirset dir="src/main">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
60 <include name="net/**/*"/>
61 </dirset>
62 </classpath>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
63 <tag name="cdk.set" scope="all" description="Belongs to the set:" />
f431cc4 JavaDoc keyword tag -> @cdk.keyword
egonw authored
64 <tag name="cdk.keyword" scope="all" description="Keywords:" />
ab94e04 JavaDoc created tag -> @cdk.created
egonw authored
65 <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
66 <tag name="cdk.require" scope="all" description="Requires:" />
ac2968d First two JavaDoc tags put into namespace 'cdk': @depends -> @cdk.depend...
egonw authored
67 <tag name="cdk.depends" scope="all" description="Required library to be able to run this class:" />
68 <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
69 <tag name="cdk.todo" scope="all" description="To do:" />
41e801f Added @cdk.license tag
egonw authored
70 <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
71 <taglet name="net.sf.cdk.tools.doclets.CDKCiteTaglet" path="jar/xom-1.1.jar:src/main" />
72 <taglet name="net.sf.cdk.tools.doclets.CDKModuleTaglet" path="jar/xom-1.1.jar:src/main" />
73 <taglet name="net.sf.cdk.tools.doclets.CDKBugTaglet" path="jar/xom-1.1.jar:src/main" />
74 <taglet name="net.sf.cdk.tools.doclets.CDKDictRefTaglet" path="jar/xom-1.1.jar:src/main" />
75 <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
76 <taglet name="net.sf.cdk.tools.doclets.CDKThreadSafeTaglet" path="jar/xom-1.1.jar:src/main" />
77 <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
78 <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
79 <packageset dir="${src}/main" defaultexcludes="yes">
a61ebd6 Ummm... now for all classes again.
egonw authored
80 <include name="org/openscience/cdk/**" />
7f6cdb0 Added rendering of JavaDoc @jar tag.
egonw authored
81 </packageset>
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
82 </javadoc>
83 </target>
84
2ea0899 Added target for creating JavaDoc for the heavily used vecmath library
egonw authored
85 <target name="vecmath.html">
86 <mkdir dir="${vecmath.javadoc.dir}" />
87
88 <javadoc destdir="${vecmath.javadoc.dir}"
89 author="true" version="true" use="true"
90 public="true"
91 windowtitle="VecMath API">
92 <classpath refid="project.class.path" />
93 <packageset dir="${vecmath.src}" defaultexcludes="yes">
94 <include name="javax/vecmath/**" />
95 </packageset>
96 </javadoc>
97 </target>
98
1dd9647 Added IUPAC name parser
stomkinson authored
99 <target name="jjdoc" description="Create JJDoc documentation from the .jj file">
100 <mkdir dir="doc/iupac-parser"/>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
101 <jjdoc target="${src}/main/org/openscience/cdk/iupac/parser/NomParser.jj"
1dd9647 Added IUPAC name parser
stomkinson authored
102 outputfile="doc/iupac-parser/ParserBNF.html"
103 javacchome="jar"/>
104 </target>
105
3573529 Added target for more detailed JavaDoc error reports to be created with ...
egonw authored
106 <!-- The doclet used in the following targets cannot be put in CVS because it is
107 licensed otherwise, but it can be downloaded from:
6d9cf33 Updated javadoc build file to insert current date rather than a fixed ve...
rajarshi authored
108
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
109 http://java.sun.com/j2se/javadoc/doccheck/
6d9cf33 Updated javadoc build file to insert current date rather than a fixed ve...
rajarshi authored
110
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
111 -->
6d9cf33 Updated javadoc build file to insert current date rather than a fixed ve...
rajarshi authored
112
689a106 Added a target to check that the doccheck jar is available. if not the d...
rajarshi authored
113 <target name="doccheck" depends="check-doccheck" if="doccheck.present">
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
114 <antcall target="doccheck-module"><param name="module" value="interfaces"/></antcall>
115 <antcall target="doccheck-module"><param name="module" value="core"/></antcall>
116 <antcall target="doccheck-module"><param name="module" value="data"/></antcall>
112f64d Egon Willighagen Moved the log4j.jar depending LoggingTool into a separate module
authored
117 <antcall target="doccheck-module"><param name="module" value="log4j"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
118 <antcall target="doccheck-module"><param name="module" value="datadebug"/></antcall>
119 <antcall target="doccheck-module"><param name="module" value="nonotify"/></antcall>
120 <antcall target="doccheck-module"><param name="module" value="standard"/></antcall>
2e301c0 Added the missing atomtype module
egonw authored
121 <antcall target="doccheck-module"><param name="module" value="atomtype"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
122 <antcall target="doccheck-module"><param name="module" value="io"/></antcall>
10dc19c Egon Willighagen Added modules that were missing from the doccheck testing
authored
123 <antcall target="doccheck-module"><param name="module" value="ioformats"/></antcall>
cc3eac9 Added doccheck for two recent new modules.
egonw authored
124 <antcall target="doccheck-module"><param name="module" value="inchi"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
125 <antcall target="doccheck-module"><param name="module" value="extra"/></antcall>
10dc19c Egon Willighagen Added modules that were missing from the doccheck testing
authored
126 <antcall target="doccheck-module"><param name="module" value="fingerprint"/></antcall>
d4e1369 Added missing lines for the formula module (closes #1882918)
egonw authored
127 <antcall target="doccheck-module"><param name="module" value="formula"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
128 <antcall target="doccheck-module"><param name="module" value="render"/></antcall>
1c5b3b7 Added reaction and structgen for auto testing.
egonw authored
129 <antcall target="doccheck-module"><param name="module" value="reaction"/></antcall>
7e20d83 Fixed libiocml module: remove '-' and added a test suite for the module ...
egonw authored
130 <antcall target="doccheck-module"><param name="module" value="libiocml"/></antcall>
cc3eac9 Added doccheck for two recent new modules.
egonw authored
131 <antcall target="doccheck-module"><param name="module" value="libiomd"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
132 <antcall target="doccheck-module"><param name="module" value="builder3d"/></antcall>
133 <antcall target="doccheck-module"><param name="module" value="smiles"/></antcall>
e3c38f4 Updated doccheck to handle the smarts module
rajarshi authored
134 <antcall target="doccheck-module"><param name="module" value="smarts"/></antcall>
10dc19c Egon Willighagen Added modules that were missing from the doccheck testing
authored
135 <antcall target="doccheck-module"><param name="module" value="sdg"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
136 <antcall target="doccheck-module"><param name="module" value="forcefield"/></antcall>
10dc19c Egon Willighagen Added modules that were missing from the doccheck testing
authored
137 <antcall target="doccheck-module"><param name="module" value="pdb"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
138 <antcall target="doccheck-module"><param name="module" value="qsar"/></antcall>
77a7370 Added new qsar modules
egonw authored
139 <antcall target="doccheck-module"><param name="module" value="qsaratomic"/></antcall>
140 <antcall target="doccheck-module"><param name="module" value="qsarbond"/></antcall>
10dc19c Egon Willighagen Added modules that were missing from the doccheck testing
authored
141 <antcall target="doccheck-module"><param name="module" value="qsarionpot"/></antcall>
77a7370 Added new qsar modules
egonw authored
142 <antcall target="doccheck-module"><param name="module" value="qsarmolecular"/></antcall>
143 <antcall target="doccheck-module"><param name="module" value="qsarprotein"/></antcall>
9c15cf9 Updated scripts so that testing is performed on the pcore module
rajarshi authored
144 <antcall target="doccheck-module"><param name="module" value="pcore"/></antcall>
1c5b3b7 Added reaction and structgen for auto testing.
egonw authored
145 <antcall target="doccheck-module"><param name="module" value="structgen"/></antcall>
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
146 <antcall target="doccheck-module"><param name="module" value="valencycheck"/></antcall>
cb52b54 Hooked in stuff for the charges module
egonw authored
147 <antcall target="doccheck-module"><param name="module" value="charges"/></antcall>
47f4131 Merged in egonw-diff
egonw authored
148 <antcall target="doccheck-module"><param name="module" value="diff"/></antcall>
7d09c48 Added infra structure for quality control of the qsar module
egonw authored
149 </target>
4d7781d Split out builder3D stuff into separate module
egonw authored
150
689a106 Added a target to check that the doccheck jar is available. if not the d...
rajarshi authored
151 <target name="check-doccheck">
152 <available file="develjar/doccheck.jar" property="doccheck.present" />
c2aee9b Give some feedback when the DocCheck library is missing
egonw authored
153 <fail unless="doccheck.present"
154 message="This task requires DocCheck, which can be downloaded from http://java.sun.com/j2se/javadoc/doccheck/. Copy the doccheck.jar into develjar/."/>
689a106 Added a target to check that the doccheck jar is available. if not the d...
rajarshi authored
155 </target>
156
fd52225 Recommit to include Egons patches as well as the new date scheme in the ...
rajarshi authored
157 <target name="doccheck-module">
158 <mkdir dir="reports/javadoc/${module}/"/>
05d92af Fixed generation of Doc Check result per module: only run on the source ...
egonw authored
159 <mkdir dir="${build}/src/${module}"/>
160 <copy todir="${build}/src/${module}">
161 <fileset dir="${src}/main">
162 <includesfile name="${build}/${module}.javafiles"/>
163 </fileset>
164 </copy>
4d7781d Split out builder3D stuff into separate module
egonw authored
165 <javadoc private="false" public="true"
05d92af Fixed generation of Doc Check result per module: only run on the source ...
egonw authored
166 destdir="reports/javadoc/${module}/">
4d7781d Split out builder3D stuff into separate module
egonw authored
167 <classpath refid="project.class.path" />
168
169 <doclet name="com.sun.tools.doclets.doccheck.DocCheck"
b2a1425 Doccheck should be in develjar
egonw authored
170 path="develjar/doccheck.jar" />
4d7781d Split out builder3D stuff into separate module
egonw authored
171 <sourcepath>
05d92af Fixed generation of Doc Check result per module: only run on the source ...
egonw authored
172 <pathelement path="${build}/src/${module}"/>
4d7781d Split out builder3D stuff into separate module
egonw authored
173 </sourcepath>
174 </javadoc>
175 </target>
3573529 Added target for more detailed JavaDoc error reports to be created with ...
egonw authored
176
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
177 <target id="check" name="check">
178 <condition property="isMacOsX">
179 <and>
180 <os family="mac"/>
181 <os family="unix"/>
182 </and>
183 </condition>
184 </target>
185
186 <target name="compileTaglets" id="compileTaglets" depends="check, compileTaglets.MacOSX, compileTaglets.Other" />
187
188 <target name="compileTaglets.MacOSX" id="compileTaglets.MacOSX" if="isMacOsX">
189 <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
190 includes="*Taglet.java" debug="on" optimize="off"/>
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
191 <javac srcdir="src" destdir="src"
192 includes="*Taglet.java" debug="on" optimize="off"/>
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
193 </target>
194
195 <target name="compileTaglets.Other" id="compileTaglets.Other" unless="isMacOsX">
196 <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
197 includes="*Taglet.java" debug="on" optimize="off">
198 <classpath>
199 <fileset dir="${java.ext.dirs}">
200 <include name="tools.jar" />
201 </fileset>
202 </classpath>
203 </javac>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
204 <javac srcdir="src/main" destdir="src/main"
fa7e28b Added taglet to put citations inline, to increase JavaDoc information co...
egonw authored
205 includes="net/sf/cdk/tools/**/*.java" debug="on" optimize="off">
206 <classpath>
207 <fileset dir="jar/">
208 <include name="xom-1.1.jar" />
209 </fileset>
210 </classpath>
211 </javac>
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
212 </target>
49394ac Added task to get JavaDoc error overviews
egonw authored
213
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API generati...
egonw authored
214 </project>
215
216
217
Something went wrong with that request. Please try again.