Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 219 lines (193 sloc) 10.714 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 gener…
egonw authored
2
0e9e5ef Added version info to JavaDoc html output, and share this with the bu…
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 @egonw 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 gener…
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 gener…
egonw authored
16
1f8bb2d @gilleain Improved javadoc generation using a link tag, so that references to j…
gilleain authored
17 <!-- Used in the html task to properly link to java library classes -->
18 <property name="javaURL" value="http://java.sun.com/j2se/1.5.0/docs/api/"/>
19
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API gener…
egonw authored
20 <path id="project.class.path">
21 <pathelement location="." />
22 <fileset dir="jar">
23 <include name="*.jar" />
24 </fileset>
25 <fileset dir="${pathtojava3d}">
26 <include name="*.jar" />
27 </fileset>
28 </path>
29
1bda75a Added task for doxygen, but still finetuning it
egonw authored
30 <taskdef name="doxygen" classname="org.doxygen.tools.DoxygenTask"
31 classpath="develjar/ant_doxygen.jar" />
50eed59 Removed obsolete target
egonw authored
32
1bda75a Added task for doxygen, but still finetuning it
egonw authored
33 <target name="doxygen" id="doxygen">
34 <mkdir dir="${doxygen.dir}" />
35 <doxygen>
36 <property name="INPUT" value="src/" />
37 <property name="PROJECT_NAME" value="The Chemistry Development Kit" />
38 <property name="OUTPUT_DIRECTORY" value="${doxygen.dir}" />
39 <property name="OPTIMIZE_OUTPUT_JAVA" value="YES" />
40 <property name="UML_LOOK" value="YES" />
41 <property name="ALIASES" value='"cdk.module=Is part of the CDK module:"' />
42 </doxygen>
43 </target>
44
aeba8a8 Added two JavaDoc taglets: one for cdk.module which links tags to the…
egonw authored
45 <target name="html" depends="compileTaglets">
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API gener…
egonw authored
46 <mkdir dir="${javadoc.dir}" />
47
ea31330 Fixed javadoc generation process
egonw authored
48 <!-- Call javacc target in build.xml to re-generate the source code -->
49 <ant antfile="build.xml" target="javacc"/>
fd52225 Recommit to include Egons patches as well as the new date scheme in t…
rajarshi authored
50 <tstamp>
6d9cf33 Updated javadoc build file to insert current date rather than a fixed…
rajarshi authored
51 <format property="TODAY_SVN" pattern="yyyyMMdd" locale="en" />
52 </tstamp>
7f6cdb0 Added rendering of JavaDoc @jar tag.
egonw authored
53 <javadoc destdir="${javadoc.dir}"
08b1a6d New CDK release. And moved JavaDoc generation back to javadoc.xml.
egonw authored
54 author="true" version="true" use="true"
b6e6ebb Fixed/Updated some core.pdf and API html generation things.
egonw authored
55 public="true"
1f4f3ce Turned off verbose mode.
egonw authored
56 windowtitle="CDK API - version ${TODAY_SVN}">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information…
egonw authored
57 <classpath>
58 <pathelement location="." />
59 <fileset dir="jar">
60 <include name="*.jar" />
61 </fileset>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for s…
egonw authored
62 <dirset dir="src/main">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information…
egonw authored
63 <include name="net/**/*"/>
64 </dirset>
65 </classpath>
fd52225 Recommit to include Egons patches as well as the new date scheme in t…
rajarshi authored
66 <tag name="cdk.set" scope="all" description="Belongs to the set:" />
f431cc4 JavaDoc keyword tag -> @cdk.keyword
egonw authored
67 <tag name="cdk.keyword" scope="all" description="Keywords:" />
ab94e04 JavaDoc created tag -> @cdk.created
egonw authored
68 <tag name="cdk.created" scope="all" description="Created on:" />
1a26c0c Fixed location of sources (no longer in build/src) and added HTML out…
egonw authored
69 <tag name="cdk.require" scope="all" description="Requires:" />
ac2968d First two JavaDoc tags put into namespace 'cdk': @depends -> @cdk.dep…
egonw authored
70 <tag name="cdk.depends" scope="all" description="Required library to be able to run this class:" />
71 <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
72 <tag name="cdk.todo" scope="all" description="To do:" />
41e801f Added @cdk.license tag
egonw authored
73 <tag name="cdk.license" scope="all" description="License:" />
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for s…
egonw authored
74 <taglet name="net.sf.cdk.tools.doclets.CDKCiteTaglet" path="jar/xom-1.1.jar:src/main" />
75 <taglet name="net.sf.cdk.tools.doclets.CDKModuleTaglet" path="jar/xom-1.1.jar:src/main" />
76 <taglet name="net.sf.cdk.tools.doclets.CDKBugTaglet" path="jar/xom-1.1.jar:src/main" />
77 <taglet name="net.sf.cdk.tools.doclets.CDKDictRefTaglet" path="jar/xom-1.1.jar:src/main" />
78 <taglet name="net.sf.cdk.tools.doclets.CDKInChITaglet" path="jar/xom-1.1.jar:src/main" />
2e562a2 @egonw Added taglets for threading safety
authored
79 <taglet name="net.sf.cdk.tools.doclets.CDKThreadSafeTaglet" path="jar/xom-1.1.jar:src/main" />
80 <taglet name="net.sf.cdk.tools.doclets.CDKThreadNonSafeTaglet" path="jar/xom-1.1.jar:src/main" />
348ea9d @rajarshi Added new taglet to process cdk.githash tag and link Javadocs to sour…
rajarshi authored
81 <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 s…
egonw authored
82 <packageset dir="${src}/main" defaultexcludes="yes">
a61ebd6 Ummm... now for all classes again.
egonw authored
83 <include name="org/openscience/cdk/**" />
7f6cdb0 Added rendering of JavaDoc @jar tag.
egonw authored
84 </packageset>
1f8bb2d @gilleain Improved javadoc generation using a link tag, so that references to j…
gilleain authored
85 <link href="${javaURL}"/>
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API gener…
egonw authored
86 </javadoc>
87 </target>
88
2ea0899 Added target for creating JavaDoc for the heavily used vecmath library
egonw authored
89 <target name="vecmath.html">
90 <mkdir dir="${vecmath.javadoc.dir}" />
91
92 <javadoc destdir="${vecmath.javadoc.dir}"
93 author="true" version="true" use="true"
94 public="true"
95 windowtitle="VecMath API">
96 <classpath refid="project.class.path" />
97 <packageset dir="${vecmath.src}" defaultexcludes="yes">
98 <include name="javax/vecmath/**" />
99 </packageset>
100 </javadoc>
101 </target>
102
1dd9647 Added IUPAC name parser
stomkinson authored
103 <target name="jjdoc" description="Create JJDoc documentation from the .jj file">
104 <mkdir dir="doc/iupac-parser"/>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for s…
egonw authored
105 <jjdoc target="${src}/main/org/openscience/cdk/iupac/parser/NomParser.jj"
1dd9647 Added IUPAC name parser
stomkinson authored
106 outputfile="doc/iupac-parser/ParserBNF.html"
107 javacchome="jar"/>
108 </target>
109
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
110 <target name="ojdcheck" depends="compileDocTests">
111 <antcall target="ojdcheck-module"><param name="module" value="interfaces"/></antcall>
112 <antcall target="ojdcheck-module"><param name="module" value="core"/></antcall>
751488b @egonw Set up a CIP module.
authored
113 <antcall target="ojdcheck-module"><param name="module" value="cip"/></antcall>
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
114 <antcall target="ojdcheck-module"><param name="module" value="data"/></antcall>
115 <antcall target="ojdcheck-module"><param name="module" value="datadebug"/></antcall>
116 <antcall target="ojdcheck-module"><param name="module" value="nonotify"/></antcall>
117 <antcall target="ojdcheck-module"><param name="module" value="standard"/></antcall>
118 <antcall target="ojdcheck-module"><param name="module" value="atomtype"/></antcall>
119 <antcall target="ojdcheck-module"><param name="module" value="io"/></antcall>
120 <antcall target="ojdcheck-module"><param name="module" value="ioformats"/></antcall>
a346769 @egonw Added iordf to the ojdcheck target
authored
121 <antcall target="ojdcheck-module"><param name="module" value="iordf"/></antcall>
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
122 <antcall target="ojdcheck-module"><param name="module" value="inchi"/></antcall>
123 <antcall target="ojdcheck-module"><param name="module" value="extra"/></antcall>
124 <antcall target="ojdcheck-module"><param name="module" value="fingerprint"/></antcall>
125 <antcall target="ojdcheck-module"><param name="module" value="formula"/></antcall>
126 <antcall target="ojdcheck-module"><param name="module" value="render"/></antcall>
127 <antcall target="ojdcheck-module"><param name="module" value="reaction"/></antcall>
128 <antcall target="ojdcheck-module"><param name="module" value="libiocml"/></antcall>
129 <antcall target="ojdcheck-module"><param name="module" value="libiomd"/></antcall>
130 <antcall target="ojdcheck-module"><param name="module" value="builder3d"/></antcall>
131 <antcall target="ojdcheck-module"><param name="module" value="smiles"/></antcall>
132 <antcall target="ojdcheck-module"><param name="module" value="smarts"/></antcall>
133 <antcall target="ojdcheck-module"><param name="module" value="sdg"/></antcall>
134 <antcall target="ojdcheck-module"><param name="module" value="forcefield"/></antcall>
135 <antcall target="ojdcheck-module"><param name="module" value="pdb"/></antcall>
136 <antcall target="ojdcheck-module"><param name="module" value="qsar"/></antcall>
137 <antcall target="ojdcheck-module"><param name="module" value="qsaratomic"/></antcall>
138 <antcall target="ojdcheck-module"><param name="module" value="qsarbond"/></antcall>
139 <antcall target="ojdcheck-module"><param name="module" value="qsarionpot"/></antcall>
140 <antcall target="ojdcheck-module"><param name="module" value="qsarmolecular"/></antcall>
141 <antcall target="ojdcheck-module"><param name="module" value="qsarprotein"/></antcall>
142 <antcall target="ojdcheck-module"><param name="module" value="pcore"/></antcall>
143 <antcall target="ojdcheck-module"><param name="module" value="structgen"/></antcall>
144 <antcall target="ojdcheck-module"><param name="module" value="valencycheck"/></antcall>
145 <antcall target="ojdcheck-module"><param name="module" value="charges"/></antcall>
146 <antcall target="ojdcheck-module"><param name="module" value="diff"/></antcall>
10edb71 @asad The big SMSD patch.
asad authored
147 <antcall target="ojdcheck-module"><param name="module" value="smsd"/></antcall>
7617074 @egonw Added JavaDoc HTML generation for the signature module
authored
148 <antcall target="ojdcheck-module"><param name="module" value="signature"/></antcall>
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
149 </target>
150
151 <target name="ojdcheck-module">
152 <mkdir dir="reports/ojdcheck/"/>
153 <mkdir dir="${build}/src/${module}"/>
154 <copy todir="${build}/src/${module}">
155 <fileset dir="${src}/main">
156 <includesfile name="${build}/${module}.javafiles"/>
157 </fileset>
158 </copy>
159 <javadoc private="false" public="true">
160 <classpath refid="project.class.path" />
161
162 <doclet name="com.github.ojdcheck.OpenJavaDocCheck"
9364179 @egonw Removed the OpenJavaDocCheck Jazzy extension which was not supposed t…
authored
163 path="develjar/ojdcheck.jar:src/main">
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
164 <param name="-xhtml"/>
165 <param name="-file"
166 value="reports/ojdcheck/${module}.html"/>
167 <param name="-tests"
9364179 @egonw Removed the OpenJavaDocCheck Jazzy extension which was not supposed t…
authored
168 value="net.sf.cdk.tools.checkdoctest.MissingGithashTagletTest,net.sf.cdk.tools.checkdoctest.MissingModuleTagletTest,net.sf.cdk.tools.checkdoctest.IncorrectBugNumberTagletTest"/>
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
169 </doclet>
170 <sourcepath>
171 <pathelement path="${build}/src/${module}"/>
172 </sourcepath>
173 </javadoc>
174 </target>
175
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
176 <target id="check" name="check">
177 <condition property="isMacOsX">
178 <and>
179 <os family="mac"/>
180 <os family="unix"/>
181 </and>
182 </condition>
183 </target>
184
185 <target name="compileTaglets" id="compileTaglets" depends="check, compileTaglets.MacOSX, compileTaglets.Other" />
186
187 <target name="compileTaglets.MacOSX" id="compileTaglets.MacOSX" if="isMacOsX">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information…
egonw authored
188 <javac srcdir="src" destdir="src"
189 includes="*Taglet.java" debug="on" optimize="off"/>
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
190 </target>
191
192 <target name="compileTaglets.Other" id="compileTaglets.Other" unless="isMacOsX">
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for s…
egonw authored
193 <javac srcdir="src/main" destdir="src/main"
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
194 includes="net/sf/cdk/tools/**/*Taglet.java" debug="on" optimize="off">
fa7e28b Added taglet to put citations inline, to increase JavaDoc information…
egonw authored
195 <classpath>
196 <fileset dir="jar/">
197 <include name="xom-1.1.jar" />
198 </fileset>
199 </classpath>
200 </javac>
b32eea9 Same fix as for build.xml: get it work on MacOS/X
egonw authored
201 </target>
49394ac Added task to get JavaDoc error overviews
egonw authored
202
02c335a @egonw Added OpenJavaDocCheck library (new BSD licensed) and written a custo…
authored
203 <target name="compileDocTests" id="compileDocTests"
204 depends="check">
205 <javac srcdir="src/main" destdir="src/main"
206 includes="net/sf/cdk/tools/checkdoctest/*Test.java"
207 debug="on" optimize="off">
208 <classpath>
209 <fileset dir="develjar/">
210 <include name="ojdcheck.jar" />
211 </fileset>
212 </classpath>
213 </javac>
214 </target>
0a83d44 Moved HTML API generation to javadoc.xml. Added DocBook XML API gener…
egonw authored
215 </project>
216
217
218
Something went wrong with that request. Please try again.