Skip to content
Newer
Older
100755 999 lines (922 sloc) 51.9 KB
ea39d29 More dependency clean up... A lot is working now, but the cyclic depe…
egonw authored Apr 22, 2005
1 <project name="CDK" default="dist-all" basedir=".">
3d221c1 Added additional PDBReader tests.
yeldar authored Aug 10, 2001
2
0e9e5ef Added version info to JavaDoc html output, and share this with the bu…
egonw authored Oct 1, 2004
3 <property file="build.props"/>
af5b768 cdk-all is now a self containing one-jar big CDK library (try java -j…
egonw authored Jun 4, 2004
4
3a26de3 Made compilation with debug=on customizable.
egonw authored Dec 28, 2002
5 <!-- compile options -->
36bec3a Make use of new class-is-in-module lists in src/
egonw authored Feb 21, 2003
6 <property name="build.sysclasspath" value="ignore" />
44a4466 Now detects Java1.3 and makes changes to have it succesfully compile
egonw authored Oct 8, 2003
7 <property name="build.compiler" value="modern" />
3a26de3 Made compilation with debug=on customizable.
egonw authored Dec 28, 2002
8 <property name="debug" value="on" />
460ea79 Detect deprecated methods
egonw authored Apr 11, 2003
9 <property name="deprecation" value="on" />
3a26de3 Made compilation with debug=on customizable.
egonw authored Dec 28, 2002
10 <property name="optimization" value="off" />
11
2f3eee0 Adapted to provide for a customizable patch scheme
egonw authored Oct 16, 2003
12 <!-- patches to apply -->
13
320baea Removed more traces of Java3D
egonw authored Jun 8, 2006
14 <!-- where to find some libraries -->
3a26de3 Made compilation with debug=on customizable.
egonw authored Dec 28, 2002
15 <property name="pathtojoelib" value="../../JoeLib/joelib/" />
16
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
17
3a26de3 Made compilation with debug=on customizable.
egonw authored Dec 28, 2002
18 <!-- directories -->
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
19 <property name="build" value="build" />
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
20 <property name="build.src" value="${build}/src" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
21 <property name="sourcedist" value="sourcedist" />
22 <property name="dist" value="dist" />
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored Jun 4, 2002
23 <property name="doc" value="doc" />
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored Jul 30, 2002
24 <property name="src" value="src" />
25 <property name="lib" value="jar" />
9e95b7b Finished splitting devel from user jars
egonw authored Apr 7, 2005
26 <property name="devellib" value="develjar" />
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored Jun 24, 2002
27 <property name="src.tests" value="${src}/org/openscience/cdk/test" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
28 <property name="reports.tests" value="reports" />
af5b768 cdk-all is now a self containing one-jar big CDK library (try java -j…
egonw authored Jun 4, 2004
29 <property name="appjars.dir" value="${dist}/appjars" />
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
30 <property name="metainf" value="${src}/META-INF" />
f7be51f Removed alternative core classes patch offering more detailed debug info
egonw authored Feb 16, 2004
31
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar whi…
egonw authored Aug 7, 2003
32 <!-- class to run for testing-->
33 <property name="testclass" value="CDKTests" />
9bcd183 Fixed default executed application
egonw authored Aug 10, 2004
34 <property name="runclass" value="applications.FileConvertor" />
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar whi…
egonw authored Aug 7, 2003
35 <property name="arg1" value="" />
36 <property name="arg2" value="" />
37 <property name="arg3" value="" />
38 <property name="arg4" value="" />
5c40bcf Removed the check for rJava as we don't strictly need it. Also added …
rajarshi authored Jun 10, 2006
39
40 <property environment="env" />
41
42 <target id="info" name="info" depends="check">
7d866cb Updated and synched descriptions: try ant -projecthelp
egonw authored Jan 14, 2004
43 <!-- Gives information about the building process. -->
8f6d674 Fixed after breaking it earlier today
egonw authored Aug 25, 2004
44 <echo message="Platform:" />
7cd4ff8 Added R/SJava found to info target
egonw authored Dec 13, 2004
45 <echo message=" OS: ${os.name}" />
46 <echo message=" Architecture: ${os.arch}" />
47 <echo message=" Version: ${os.version}" />
48 <echo message=" Mac OS/X found: ${isMacOsX}" />
8f6d674 Fixed after breaking it earlier today
egonw authored Aug 25, 2004
49 <echo message="" />
679cde7 Third attempt to fix the Mac OS/X compile problem (and extended info …
egonw authored Aug 31, 2004
50 <echo message="Java/Ant Environment:" />
7cd4ff8 Added R/SJava found to info target
egonw authored Dec 13, 2004
51 <echo message=" Java version: ${java.version}" />
52 <echo message=" Java vendor: ${java.vendor}" />
53 <echo message=" Java dir: ${java.home}" />
54 <echo message=" Java ext dir: ${java.ext.dirs}" />
55 <echo message=" Ant version: ${ant.version}" />
56 <echo message=" ${ANT_HOME}: ${ant.home}" />
57 <echo message=" hasAnt16: ${hasAnt16}" />
679cde7 Third attempt to fix the Mac OS/X compile problem (and extended info …
egonw authored Aug 31, 2004
58 <echo message="" />
c1e01f8 Added support for gjdoc
egonw authored Jan 6, 2006
59 <echo message="JavaDoc Environment:" />
60 <echo message=" SUN JavaDoc: ${sunJavaDoc}" />
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
61 <echo message=" SUN JavaDoc 6: ${sunJavaDoc6}" />
c1e01f8 Added support for gjdoc
egonw authored Jan 6, 2006
62 <echo message=" gjdoc JavaDoc: ${gjdocJavaDoc}" />
63 <echo message="" />
679cde7 Third attempt to fix the Mac OS/X compile problem (and extended info …
egonw authored Aug 31, 2004
64 <echo message="CDK Environment:" />
7cd4ff8 Added R/SJava found to info target
egonw authored Dec 13, 2004
65 <echo message=" CDK version: ${version}" />
66 <echo message=" build.xml: $Id$" />
6d246fd Fixed detection of class binaries of Doclets required to compile the CDK
egonw authored Jan 24, 2005
67 <echo message=" Doclets found: ${docletsAreCompiled}" />
5a470af Added detection of Jmol, and added comments on optionality of libs
egonw authored Aug 13, 2005
68 <echo message=" Junit found: ${junit.present}" />
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
69 <echo message=" --- required libraries ---" />
70 <echo message=" Vecmath found: ${vecmath.present}" />
71 <echo message=" Log4j found: ${log4j.present}" />
72 <echo message=" JGraphT found: ${jgrapht.present}" />
c1c3a3b Removed outdated optional compile checks
egonw authored Jul 14, 2006
73 <echo message=" --- distributed (but optional) libraries ---" />
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
74 <echo message=" Batik found: ${batik.present}" />
7cd4ff8 Added R/SJava found to info target
egonw authored Dec 13, 2004
75 <echo message=" CMLDOM found: ${cmllibs.present}" />
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
76 <echo message=" DADML found: ${dadml.present}" />
77 <echo message=" JAI found: ${jai.present}" />
78 <echo message=" XIndice found: ${xindice.present}"/>
5a470af Added detection of Jmol, and added comments on optionality of libs
egonw authored Aug 13, 2005
79 <echo message=" --- optional libraries ---" />
81cab20 Added Ant target for compiling 'optional' modules
egonw authored Jan 11, 2006
80 <echo message=" Jmol found: ${jmol.present}" />
5a470af Added detection of Jmol, and added comments on optionality of libs
egonw authored Aug 13, 2005
81 <echo message=" JOELib found: ${joelib.present}" />
2f3eee0 Adapted to provide for a customizable patch scheme
egonw authored Oct 16, 2003
82 <echo message="" />
44a4466 Now detects Java1.3 and makes changes to have it succesfully compile
egonw authored Oct 8, 2003
83 <echo message="Compiling:" />
7cd4ff8 Added R/SJava found to info target
egonw authored Dec 13, 2004
84 <echo message=" for: ${build.compiler}" />
85 <echo message=" debug: ${debug}" />
86 <echo message=" deprecation: ${deprecation}" />
87 <echo message=" optimization: ${optimization}" />
5c40bcf Removed the check for rJava as we don't strictly need it. Also added …
rajarshi authored Jun 10, 2006
88 <echo message=" skipDoclet: ${doSkipDoclet}" />
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored Nov 18, 2002
89 </target>
90
8f6d674 Fixed after breaking it earlier today
egonw authored Aug 25, 2004
91 <target id="checkPlatforms" name="checkPlatforms">
58405cf Fixed build.xml to allow compile of doclets on MacOS/X (closes #1001497)
egonw authored Aug 25, 2004
92 <condition property="isMacOsX">
93 <and>
94 <os family="mac"/>
95 <os family="unix"/>
96 </and>
97 </condition>
98 </target>
99
8f6d674 Fixed after breaking it earlier today
egonw authored Aug 25, 2004
100 <target id="check" name="check" depends="checkPlatforms">
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
101 <!-- Check wether Doclets are compiled and output is generated -->
6d246fd Fixed detection of class binaries of Doclets required to compile the CDK
egonw authored Jan 24, 2005
102 <condition property="docletsAreCompiled">
103 <and>
efbfe43 Fixed 'doclets-are-compiled' detection
egonw authored Oct 24, 2005
104 <available classname="net.sf.cdk.tools.MakeJavaFilesFilesDoclet" classpath="${doc}/javadoc"/>
105 <available classname="net.sf.cdk.tools.MakeCDKSetFilesDoclet" classpath="${doc}/javadoc"/>
6d246fd Fixed detection of class binaries of Doclets required to compile the CDK
egonw authored Jan 24, 2005
106 </and>
107 </condition>
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
108 <uptodate property="dotjavafiles.uptodate"
109 targetfile="${src}/core.javafiles">
110 <srcfiles dir="${src}" includes="**/*.java" />
111 </uptodate>
112 <condition property="dotjjfiles.uptodate">
113 <and>
114 <uptodate property="NomParserJavafiles.uptodate"
115 targetfile="${src}/org/openscience/cdk/iupac/parser/NomParser.java">
116 <srcfiles dir="${src}" includes="org/openscience/cdk/iupac/parser/NomParser.jj" />
117 </uptodate>
118 <uptodate property="SMARTSParserJavafiles.uptodate"
119 targetfile="${src}/org/openscience/cdk/smiles/smarts/SMARTSParser.java">
120 <srcfiles dir="${src}" includes="org/openscience/cdk/smiles/smarts/SMARTSParser.jj" />
121 </uptodate>
122 </and>
123 </condition>
124 <condition property="doSkipDoclet">
125 <equals arg1="${skipDoclet}" arg2="true"/>
126 </condition>
127
128 <!-- Checks which parts of CDK can be build. -->
129
130 <!-- test for optional jars -->
131 <available property="vecmath.present"
132 file="${lib}/vecmath1.2-1.14.jar"/>
133 <available property="log4j.present"
134 file="${lib}/log4j.jar"/>
135 <available property="jgrapht.present"
152e213 Updated for recent upgrades to Jumbo 5.2 and JGraphT 0.6.0
egonw authored May 1, 2006
136 file="${lib}/jgrapht-0.6.0.jar"/>
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
137
138 <!-- test for optional jars -->
139 <condition property="batik.present">
140 <and>
141 <available file="${lib}/batik-awt-util.jar"/>
142 <available file="${lib}/batik-dom.jar"/>
143 <available file="${lib}/batik-svggen.jar"/>
144 <available file="${lib}/batik-util.jar"/>
145 <available file="${lib}/batik-xml.jar"/>
146 </and>
147 </condition>
148 <condition property="cmllibs.present">
149 <or>
152e213 Updated for recent upgrades to Jumbo 5.2 and JGraphT 0.6.0
egonw authored May 1, 2006
150 <available file="${lib}/jumbo52.jar"/>
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
151 </or>
152 </condition>
153 <available property="dadml.present"
154 file="${lib}/dadml.jar"/>
155 <condition property="jai.present">
156 <and>
157 <available file="${lib}/jai_codec.jar"/>
158 <available file="${lib}/jai_core.jar"/>
159 </and>
160 </condition>
161 <available property="joelib.present"
162 classname="joelib.molecule.JOEAtom"
163 classpath="${lib}/libio/joelib.jar"/>
164 <available property="jmol.present"
165 classname="org.jmol.api.JmolAdapter"
166 classpath="${lib}/jmolApis.jar"/>
167 <available property="junit.present"
168 classname="junit.framework.TestCase"
169 classpath="${ant.home}/lib/junit.jar"/>
170 <condition property="xindice.present">
171 <and>
172 <available file="${lib}/xindice.jar"/>
173 <available file="${lib}/xmldb.jar"/>
174 </and>
175 </condition>
176
177 <!-- test Ant version -->
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
178 <condition property="hasAnt16">
179 <contains string="${ant.version}" substring="1.6"/>
180 </condition>
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
181
182 <!-- test Java version -->
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
183 <condition property="isJava13">
184 <contains string="${java.version}" substring="1.3"/>
185 </condition>
186 <condition property="isJava14">
187 <contains string="${java.version}" substring="1.4"/>
188 </condition>
866bc72 CML is now available for Java1.5 too
egonw authored May 5, 2005
189 <condition property="isJava15">
190 <contains string="${java.version}" substring="1.5"/>
191 </condition>
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
192 <condition property="isJava16">
193 <contains string="${java.version}" substring="1.6."/>
194 </condition>
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
195 <condition property="isJava14+">
196 <or>
197 <contains string="${java.version}" substring="1.4"/>
198 <contains string="${java.version}" substring="1.5"/>
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
199 <contains string="${java.version}" substring="1.6"/>
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
200 </or>
201 </condition>
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
202 <condition property="isJava15+">
203 <or>
204 <contains string="${java.version}" substring="1.5"/>
205 <contains string="${java.version}" substring="1.6"/>
206 </or>
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
207 </condition>
b836e8e Some tweaks and now CDK compiles with 1.6 too
egonw authored Aug 1, 2006
208 <condition property="isNotJava15+">
209 <not>
210 <or>
211 <contains string="${java.version}" substring="1.5"/>
212 <contains string="${java.version}" substring="1.6"/>
213 </or>
214 </not>
215 </condition>
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
216
217 <!-- testing which JavaDoc is present -->
b23a50f Hopefully fixed Rajarshi's problem
egonw authored Jan 16, 2006
218 <condition property="sunJavaDocInExt">
c1e01f8 Added support for gjdoc
egonw authored Jan 6, 2006
219 <or>
220 <available file="${java.ext.dirs}/tools.jar" />
b23a50f Hopefully fixed Rajarshi's problem
egonw authored Jan 16, 2006
221 </or>
222 </condition>
223 <condition property="sunJavaDocInLib">
224 <or>
225 <available file="${java.home}/lib/tools.jar" />
f2b2a90 Applied Rajarshi's patch: gcj+gjdoc still works
egonw authored Jan 18, 2006
226 <available file="${java.home}/../lib/tools.jar" />
c1e01f8 Added support for gjdoc
egonw authored Jan 6, 2006
227 </or>
228 </condition>
c7c3815 Another attempt for get the doclets compiled properly on gjdoc *and* …
egonw authored Jan 17, 2006
229 <condition property="sunJavaDoc">
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
230 <and>
231 <or>
232 <available file="${java.ext.dirs}/tools.jar" />
233 <available file="${java.home}/../lib/tools.jar" />
234 </or>
235 <not>
236 <contains string="${java.version}" substring="1.6"/>
237 </not>
238 </and>
239 </condition>
240 <condition property="sunJavaDoc6">
241 <and>
242 <or>
243 <available file="${java.home}/lib/tools.jar" />
244 <available file="${java.home}/../lib/tools.jar" />
245 </or>
246 <contains string="${java.version}" substring="1.6"/>
247 </and>
c7c3815 Another attempt for get the doclets compiled properly on gjdoc *and* …
egonw authored Jan 17, 2006
248 </condition>
c1e01f8 Added support for gjdoc
egonw authored Jan 6, 2006
249 <condition property="gjdocJavaDoc">
250 <available file="/usr/share/java/gnu-classpath-tools-gjdoc.jar" />
251 </condition>
cc68a07 Added detection of more third party libraries
egonw authored Feb 11, 2006
252
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored Nov 18, 2002
253 </target>
254
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
255
d2ed020 Reworked dependencies
egonw authored Jan 26, 2004
256 <target id="init" name="init" depends="check, setupBuildDir"/>
4302fbf Updated for Jumbo50 transition.
egonw authored Dec 8, 2005
257 <target id="customize" name="customize" depends="javacc"/>
866bc72 CML is now available for Java1.5 too
egonw authored May 5, 2005
258
44a4466 Now detects Java1.3 and makes changes to have it succesfully compile
egonw authored Oct 8, 2003
259 <target id="setupBuildDir" name="setupBuildDir">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
260 <tstamp />
261 <mkdir dir="${build}" />
262 <mkdir dir="${sourcedist}" />
263 <mkdir dir="${dist}" />
264 <mkdir dir="${reports.tests}" />
265 </target>
266
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored Mar 31, 2003
267 <target id="clean" name="clean" description="Removes autogenerated files.">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
268 <delete>
24af772 Delete autogenerated .javafiles in clean target
egonw authored Jan 27, 2004
269 <fileset dir="." includes="**/*~" />
270 <fileset dir="." includes="*.tar.gz" />
271 <fileset dir="." includes="*.zip" />
06ee5d1 Modified the clean target to remove .rda files generated during testi…
rajarshi authored May 24, 2005
272 <fileset dir="." includes="*.rda" />
24af772 Delete autogenerated .javafiles in clean target
egonw authored Jan 27, 2004
273 <fileset dir="${src}" includes="*.classes" />
df95df5 Don't delete the *.javafiles from CVS
egonw authored Jan 27, 2004
274 <fileset dir="${src}" includes="*.javafiles">
275 <exclude name="jmol*.javafiles" />
276 </fileset>
bfe0e17 Build interfaces before data
egonw authored Aug 31, 2005
277 <fileset dir="${src}" includes="*.entitylist" />
5ad21a8 Fixed building CDK with Ant 1.5.x
egonw authored Dec 13, 2004
278 <!-- remove java files generated with JavaCC -->
279 <fileset dir="${src}/org/openscience/cdk/smiles/smarts" includes="*.java" />
280 <fileset dir="${src}/org/openscience/cdk/iupac/parser" includes="*.java">
281 <!-- the next are from CVS -->
282 <exclude name="AttachedGroup.java" />
283 <exclude name="MoleculeBuilder.java" />
284 </fileset>
2b81a22 Fixed a problem with deleting the doclet classes
egonw authored Mar 4, 2006
285 <fileset dir="${doc}">
286 <include name="javadoc/net/sf/cdk/tools/*.class" />
287 </fileset>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
288 </delete>
289
290 <delete dir="${build}" />
291 <delete dir="${sourcedist}" />
4784091 New module: cdk-io. It only depends on cdk-core.
egonw authored Nov 20, 2002
292 <delete dir="${dist}" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
293 <delete dir="${reports.tests}" />
294 </target>
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored Nov 18, 2002
295
6d246fd Fixed detection of class binaries of Doclets required to compile the CDK
egonw authored Jan 24, 2005
296 <target name="compileDoclet" id="compileDoclet" depends="check" unless="docletsAreCompiled">
297 <echo>Compiling doclets in doc/javadoc that are required for compiling CDK...</echo>
298 <antcall target="compileDoclet.MacOSX"/>
c7c3815 Another attempt for get the doclets compiled properly on gjdoc *and* …
egonw authored Jan 17, 2006
299 <antcall target="compileDoclet.gjDoc" />
300 <antcall target="compileDoclet.sunJavaDoc" />
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
301 <antcall target="compileDoclet.sunJavaDoc6" />
6d246fd Fixed detection of class binaries of Doclets required to compile the CDK
egonw authored Jan 24, 2005
302 </target>
679cde7 Third attempt to fix the Mac OS/X compile problem (and extended info …
egonw authored Aug 31, 2004
303
304 <target name="compileDoclet.MacOSX" id="compileDoclet.MacOSX" if="isMacOsX">
305 <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
da8d319 Implemented @cdk.set to define sets of certain types of classes, e.g.…
egonw authored Dec 3, 2004
306 includes="MakeJavaFilesFilesDoclet.java, MakeCDKSetFilesDoclet.java" />
679cde7 Third attempt to fix the Mac OS/X compile problem (and extended info …
egonw authored Aug 31, 2004
307 </target>
308
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
309 <target name="compileDoclet.sunJavaDoc6" id="compileDoclet.sunJavaDoc6" if="sunJavaDoc6" unless="isMacOsX">
ca98ea5 Refactored build process (closes #883519)
egonw authored Jan 24, 2004
310 <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
da8d319 Implemented @cdk.set to define sets of certain types of classes, e.g.…
egonw authored Dec 3, 2004
311 includes="MakeJavaFilesFilesDoclet.java, MakeCDKSetFilesDoclet.java">
ca98ea5 Refactored build process (closes #883519)
egonw authored Jan 24, 2004
312 <classpath>
b23a50f Hopefully fixed Rajarshi's problem
egonw authored Jan 16, 2006
313 <fileset dir="${java.home}/lib">
c7c3815 Another attempt for get the doclets compiled properly on gjdoc *and* …
egonw authored Jan 17, 2006
314 <include name="tools.jar" if="sunJavaDocInLib"/>
c1e01f8 Added support for gjdoc
egonw authored Jan 6, 2006
315 </fileset>
b534185 More fixes: ../lib in both required places, and commented out java1.4…
egonw authored Jan 18, 2006
316 <fileset dir="${java.home}/../lib">
317 <include name="tools.jar" if="sunJavaDocInLib"/>
318 </fileset>
ca98ea5 Refactored build process (closes #883519)
egonw authored Jan 24, 2004
319 </classpath>
320 </javac>
321 </target>
322
c77a2ac Should now work with the Sun Java 1.6.0 beta2
egonw authored Aug 1, 2006
323 <target name="compileDoclet.sunJavaDoc" id="compileDoclet.sunJavaDoc" if="sunJavaDoc" unless="isMacOsX">
324 <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
325 includes="MakeJavaFilesFilesDoclet.java, MakeCDKSetFilesDoclet.java">
326 <classpath>
327 <fileset dir="${java.ext.dirs}">
328 <include name="tools.jar" if="sunJavaDocInExt"/>
329 </fileset>
330 <fileset dir="${java.home}/lib">
331 <include name="tools.jar" if="sunJavaDocInLib"/>
332 </fileset>
333 <fileset dir="${java.home}/../lib">
334 <include name="tools.jar" if="sunJavaDocInLib"/>
335 </fileset>
336 </classpath>
337 </javac>
338 </target>
339
c7c3815 Another attempt for get the doclets compiled properly on gjdoc *and* …
egonw authored Jan 17, 2006
340 <target name="compileDoclet.gjDoc" id="compileDoclet.gjDoc" if="gjdocJavaDoc">
341 <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
342 includes="MakeJavaFilesFilesDoclet.java, MakeCDKSetFilesDoclet.java">
343 <classpath>
344 <fileset dir="/usr/share/java">
345 <include name="com-sun-javadoc.jar" if="gjdocJavaDoc"/>
346 </fileset>
347 </classpath>
348 </javac>
349 </target>
350
9012143 Reworked dependencies a bit, fixing the -DskipDoclet option
egonw authored May 3, 2005
351 <target name="runDoclet" id="runDoclet"
352 depends="check, customize" unless="doSkipDoclet">
353 <echo>Not skipping doclet run...</echo>
354 <antcall target="reallyRunDoclet"/>
355 <antcall target="failIfNoDocletResults"/>
356 </target>
2583a62 Added better output about missing src/*.javafiles
egonw authored Mar 31, 2004
357
676c95b Cleaned up more of the build file
egonw authored Apr 22, 2005
358 <target name="checkDocletResults" id="checkDocletResults">
2583a62 Added better output about missing src/*.javafiles
egonw authored Mar 31, 2004
359 <condition property="dotjavafiles.uptodate">
360 <and>
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
361 <available file="${build}/data.javafiles" />
362 <available file="${build}/core.javafiles" />
363 <available file="${build}/standard.javafiles" />
364 <available file="${build}/extra.javafiles" />
365 <available file="${build}/io.javafiles" />
2583a62 Added better output about missing src/*.javafiles
egonw authored Mar 31, 2004
366 </and>
367 </condition>
368 </target>
369
676c95b Cleaned up more of the build file
egonw authored Apr 22, 2005
370 <target name="failIfNoDocletResults" id="failIfNoDocletResults" depends="checkDocletResults" unless="dotjavafiles.uptodate">
2583a62 Added better output about missing src/*.javafiles
egonw authored Mar 31, 2004
371 <fail>
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
372 There seems to be a problem with building the cdk/build/*.javafiles.
fa91151 A better error message: in most cases source code errors cause the pr…
egonw authored Dec 6, 2004
373 Often this is caused by malformed java source code, so please check the output
374 of the reallyRunDoclet target (ant reallyRunDoclet).
375
376 If there is no reported source code error, please report this to
377 cdk-devel@lists.sf.net and send the output of
2583a62 Added better output about missing src/*.javafiles
egonw authored Mar 31, 2004
378 this command: ant -v info runDoclet.
379 </fail>
380 </target>
381
676c95b Cleaned up more of the build file
egonw authored Apr 22, 2005
382 <target name="reallyRunDoclet" id="reallyRunDoclet" depends="compileDoclet" unless="dotjavafiles.uptodate">
3ec097a Modified the reallyRunDoclet task so that it considers all classes (p…
rajarshi authored May 10, 2005
383 <javadoc private="true" maxmemory="128m">
6dc1be4 Less complaining when running MakeJavaFilesFilesDoclet
egonw authored Oct 26, 2004
384 <classpath>
6e42787 Moved render and io to new system
egonw authored Apr 22, 2005
385 <fileset dir="${lib}">
386 <include name="*.jar" />
42ca7fe Don't include class format 49.0 depending jars if not running Java 1.5.
egonw authored Dec 10, 2005
387 <!-- some jars require some Java version -->
388 <exclude name="jumbo50.jar" unless="isJava15"/>
6e42787 Moved render and io to new system
egonw authored Apr 22, 2005
389 </fileset>
6dc1be4 Less complaining when running MakeJavaFilesFilesDoclet
egonw authored Oct 26, 2004
390 <fileset dir="${lib}/libio">
391 <include name="*.jar" />
392 </fileset>
b1187d4 The devel libs are needed when running the doclets too
egonw authored Apr 18, 2005
393 <fileset dir="${devellib}">
394 <include name="*.jar" />
395 </fileset>
6dc1be4 Less complaining when running MakeJavaFilesFilesDoclet
egonw authored Oct 26, 2004
396 </classpath>
397
23408ac Put classes in a package (closes #1323761).
egonw authored Oct 22, 2005
398 <doclet name="net.sf.cdk.tools.MakeJavaFilesFilesDoclet" path="${doc}/javadoc"/>
24af772 Delete autogenerated .javafiles in clean target
egonw authored Jan 27, 2004
399
026da28 Removed last trace of patch system: compile errors in IDE tools work …
egonw authored Feb 16, 2004
400 <packageset dir="${src}">
ca98ea5 Refactored build process (closes #883519)
egonw authored Jan 24, 2004
401 <include name="org/openscience/cdk/**"/>
402 </packageset>
6dc1be4 Less complaining when running MakeJavaFilesFilesDoclet
egonw authored Oct 26, 2004
403
ca98ea5 Refactored build process (closes #883519)
egonw authored Jan 24, 2004
404 </javadoc>
3ec097a Modified the reallyRunDoclet task so that it considers all classes (p…
rajarshi authored May 10, 2005
405 <javadoc private="true" maxmemory="128m">
da8d319 Implemented @cdk.set to define sets of certain types of classes, e.g.…
egonw authored Dec 3, 2004
406 <classpath>
6e42787 Moved render and io to new system
egonw authored Apr 22, 2005
407 <fileset dir="${lib}">
408 <include name="*.jar" />
42ca7fe Don't include class format 49.0 depending jars if not running Java 1.5.
egonw authored Dec 10, 2005
409 <!-- some jars require some Java version -->
410 <exclude name="jumbo50.jar" unless="isJava15"/>
6e42787 Moved render and io to new system
egonw authored Apr 22, 2005
411 </fileset>
da8d319 Implemented @cdk.set to define sets of certain types of classes, e.g.…
egonw authored Dec 3, 2004
412 <fileset dir="${lib}/libio">
413 <include name="*.jar" />
414 </fileset>
b1187d4 The devel libs are needed when running the doclets too
egonw authored Apr 18, 2005
415 <fileset dir="${devellib}">
416 <include name="*.jar" />
417 </fileset>
da8d319 Implemented @cdk.set to define sets of certain types of classes, e.g.…
egonw authored Dec 3, 2004
418 </classpath>
419
23408ac Put classes in a package (closes #1323761).
egonw authored Oct 22, 2005
420 <doclet name="net.sf.cdk.tools.MakeCDKSetFilesDoclet" path="${doc}/javadoc"/>
da8d319 Implemented @cdk.set to define sets of certain types of classes, e.g.…
egonw authored Dec 3, 2004
421
422 <packageset dir="${src}">
423 <include name="org/openscience/cdk/**"/>
424 </packageset>
425
426 </javadoc>
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
427 <mkdir dir="${build}" />
428 <move todir="${build}" failonerror="true">
ca98ea5 Refactored build process (closes #883519)
egonw authored Jan 24, 2004
429 <fileset dir=".">
430 <include name="*.javafiles"/>
0c049c7 Further work on new build system: all packages compile, but target te…
egonw authored Jan 25, 2004
431 <include name="*.classes"/>
da8d319 Implemented @cdk.set to define sets of certain types of classes, e.g.…
egonw authored Dec 3, 2004
432 <include name="*.set"/>
46a17d2 Clean entity lists
egonw authored Jan 15, 2005
433 <include name="*.entitylist"/>
ca98ea5 Refactored build process (closes #883519)
egonw authored Jan 24, 2004
434 </fileset>
435 </move>
436 </target>
437
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
438 <target id="compile-needed-test" name="compile-needed-test">
439 <uptodate property="module-uptodate" targetfile="${dist}/jar/cdk-${module}.jar">
440 <srcfiles dir="${src}">
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
441 <includesfile name="${build}/${module}.javafiles"/>
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
442 </srcfiles>
443 </uptodate>
444 </target>
9012143 Reworked dependencies a bit, fixing the -DskipDoclet option
egonw authored May 3, 2005
445
446 <target id="compile-init" name="compile-init"
b0f7700 Checks are really needed a bit more often to ensure that some variabl…
egonw authored May 3, 2005
447 depends="init, check, runDoclet"/>
9012143 Reworked dependencies a bit, fixing the -DskipDoclet option
egonw authored May 3, 2005
448
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
449 <target id="compile-module" name="compile-module"
b0f7700 Checks are really needed a bit more often to ensure that some variabl…
egonw authored May 3, 2005
450 depends="check, dist.init, compile-needed-test"
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
451 unless="module-uptodate">
452
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
453 <echo message="Compiling classes for CDK's ${module} module." />
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
454
455 <!-- check for availability for meta info files -->
456 <available file="${metainf}/${module}.datafiles" property="module.datafiles.present"/>
cd4dbe5 Added hook for extra files outside the src/ directory, solving the re…
egonw authored Apr 23, 2005
457 <available file="${metainf}/${module}.extrafiles" property="module.extrafiles.present"/>
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
458 <available file="${metainf}/${module}.cdkdepends" property="module.cdkdepends.present"/>
459 <available file="${metainf}/${module}.libdepends" property="module.libdepends.present"/>
ea39d29 More dependency clean up... A lot is working now, but the cyclic depe…
egonw authored Apr 22, 2005
460 <available file="${metainf}/${module}.devellibdepends" property="module.devellibdepends.present"/>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
461
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
462 <!-- be somewhat informative -->
463 <echo message="Datafiles defined: ${module.datafiles.present}"/>
cd4dbe5 Added hook for extra files outside the src/ directory, solving the re…
egonw authored Apr 23, 2005
464 <echo message="Extra files defined: ${module.extrafiles.present}"/>
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
465 <echo message="CDK dependencies defined: ${module.cdkdepends.present}"/>
466 <echo message="Library dependencies defined: ${module.libdepends.present}"/>
ea39d29 More dependency clean up... A lot is working now, but the cyclic depe…
egonw authored Apr 22, 2005
467 <echo message="Developer Library dependencies defined: ${module.devellibdepends.present}"/>
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
468
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
469 <!-- normally javac compiles not just the given files, but also missing
470 classes that are in the same src/ directory. By making a copy first,
471 we explicitely make it impossible to compile files that are not
472 marked for a specific module -->
51ac13a Also delete .class files as they mess up CDK dependency cleanless too
egonw authored Apr 23, 2005
473 <mkdir dir="${build}"/>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
474 <mkdir dir="${build.src}"/>
475 <copy todir="${build.src}">
476 <fileset dir="${src}">
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
477 <excludesfile name="${build}/java1.4+.javafiles" if="isJava13"/>
478 <!-- excludesfile name="${build}/java1.4.javafiles" unless="isJava14"/ -->
479 <!-- excludesfile name="${build}/java1.5.javafiles" unless="isJava15"/ -->
480 <excludesfile name="${build}/java1.5+.javafiles" if="isNotJava15"/>
481 <excludesfile name="${build}/ant1.6.javafiles" unless="hasAnt16"/>
482 <excludesfile name="${build}/jai.javafiles" unless="jai.present"/>
483 <excludesfile name="${build}/dadml.javafiles" unless="dadml.present"/>
484 <excludesfile name="${build}/xindice.javafiles" unless="xindice.present"/>
485
486 <includesfile name="${build}/${module}.javafiles"/>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
487 </fileset>
488 </copy>
489
490 <!-- ok, now that we have a copy, compile this copy -->
491 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
03a7837 merge with jcp21
shk3 authored Mar 7, 2006
492 debug="${debug}" deprecation="${deprecation}" target="1.3" source="1.3">
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
493 <classpath>
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
494 <fileset dir="${lib}" >
495 <exclude name="**/*" unless="module.libdepends.present" />
496 <includesfile name="${metainf}/${module}.libdepends" if="module.libdepends.present" />
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
497 </fileset>
ea39d29 More dependency clean up... A lot is working now, but the cyclic depe…
egonw authored Apr 22, 2005
498 <fileset dir="${devellib}">
499 <exclude name="**/*" unless="module.devellibdepends.present" />
500 <includesfile name="${metainf}/${module}.devellibdepends" if="module.devellibdepends.present" />
501 </fileset>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
502 <fileset dir="${dist}/jar">
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
503 <exclude name="**/*" unless="module.cdkdepends.present" />
504 <includesfile name="${metainf}/${module}.cdkdepends" if="module.cdkdepends.present" />
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
505 </fileset>
506 </classpath>
507
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
508 <excludesfile name="${build}/java1.4+.javafiles" if="isJava13"/>
509 <!-- excludesfile name="${build}/java1.4.javafiles" unless="isJava14"/ -->
510 <!-- excludesfile name="${build}/java1.5.javafiles" unless="isJava15"/ -->
511 <excludesfile name="${build}/java1.5+.javafiles" if="isNotJava15"/>
512 <excludesfile name="${build}/ant1.6.javafiles" unless="hasAnt16"/>
513 <excludesfile name="${build}/jai.javafiles" unless="jai.present"/>
514 <excludesfile name="${build}/dadml.javafiles" unless="dadml.present"/>
515 <excludesfile name="${build}/xindice.javafiles" unless="xindice.present"/>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
516
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
517 <includesfile name="${build}/${module}.javafiles"/>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
518 </javac>
519
520 <!-- and then jar things up into the module jar -->
521 <jar jarfile="${dist}/jar/cdk-${module}.jar">
522 <fileset dir="${build}">
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
523 <includesfile name="${build}/${module}.classes" />
524 <excludesfile name="${build}/java1.4+.classes" if="isJava13"/>
525 <!-- excludesfile name="${build}/java1.4.classes" unless="isJava14"/ -->
526 <!-- excludesfile name="${build}/java1.5.javafiles" unless="isJava15"/ -->
527 <excludesfile name="${build}/java1.5+.javafiles" if="isNotJava15"/>
528 <excludesfile name="${build}/ant1.6.classes" unless="hasAnt16"/>
529 <excludesfile name="${build}/jai.javafiles" unless="jai.present"/>
530 <excludesfile name="${build}/dadml.javafiles" unless="dadml.present"/>
531 <excludesfile name="${build}/xindice.javafiles" unless="xindice.present"/>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
532 </fileset>
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
533 <fileset dir="${build}">
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
534 <include name="${module}.javafiles" />
535 </fileset>
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
536 <fileset dir="${src}">
141cf36 Fixed problem with including data files in the module jars
egonw authored Apr 22, 2005
537 <exclude name="**/*" unless="module.datafiles.present"/>
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
538 <includesfile name="${metainf}/${module}.datafiles" if="module.datafiles.present" />
539 </fileset>
ddebad1 Modified to match new dir struct
egonw authored Aug 22, 2005
540 <fileset dir="${src}">
cd4dbe5 Added hook for extra files outside the src/ directory, solving the re…
egonw authored Apr 23, 2005
541 <exclude name="**/*" unless="module.extrafiles.present"/>
542 <includesfile name="${metainf}/${module}.extrafiles" if="module.extrafiles.present" />
543 </fileset>
bd36ed1 Trial for new build system
egonw authored Apr 22, 2005
544 </jar>
545 </target>
546
6dc5408 Added stuff for qsar module
egonw authored Nov 29, 2004
547 <!-- Convert the JavaCC .jj file to the correct .java files for the IUPAC parser -->
62f2673 Don't delete everything in cdk.iupac.parser
egonw authored Feb 16, 2004
548 <target id="javacc" name="javacc" depends="init, check" if="hasAnt16" unless="dotjjfiles.uptodate">
5ad21a8 Fixed building CDK with Ant 1.5.x
egonw authored Dec 13, 2004
549 <echo message="Compiling Ant 1.6 depending classes." />
cd49d3a A bit of comment
egonw authored Apr 17, 2004
550 <!-- the IUPAC name parser -->
1dd9647 Added IUPAC name parser
stomkinson authored Sep 14, 2003
551 <delete>
552 <fileset id="javacc-generated"
cd49d3a A bit of comment
egonw authored Apr 17, 2004
553 dir="${src}/org/openscience/cdk/iupac/parser/"
554 includes="NomParser*.java,ParseException.java,SimpleCharStream.java,Token.java,TokenMgrError.java"/>
1dd9647 Added IUPAC name parser
stomkinson authored Sep 14, 2003
555 </delete>
556 <javacc target="${src}/org/openscience/cdk/iupac/parser/NomParser.jj"
026da28 Removed last trace of patch system: compile errors in IDE tools work …
egonw authored Feb 16, 2004
557 outputdirectory="${src}/org/openscience/cdk/iupac/parser/"
1dd9647 Added IUPAC name parser
stomkinson authored Sep 14, 2003
558 javacchome="${lib}"/>
2fa9ba9 Forgot to upload the updated build.xml
egonw authored Mar 31, 2004
559 <delete>
560 <fileset id="javacc-generated"
561 dir="${src}/org/openscience/cdk/smiles/smarts/"
562 includes="*.java"/>
563 </delete>
564 <javacc target="${src}/org/openscience/cdk/smiles/smarts/SMARTSParser.jj"
565 outputdirectory="${src}/org/openscience/cdk/smiles/smarts/"
566 javacchome="${lib}"/>
1dd9647 Added IUPAC name parser
stomkinson authored Sep 14, 2003
567 </target>
8095921 Added rendering of wedged bonds.
egonw authored Dec 27, 2002
568
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored Mar 31, 2003
569 <target id="dist.init" name="dist.init">
246601c Added a test to check for the presence of R and thus prevent compilat…
rajarshi authored Dec 13, 2004
570 <mkdir dir="${dist}/jar" />
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored Jun 4, 2002
571 </target>
d313d03 Also include cml.dtd in normal jar.
egonw authored Oct 6, 2001
572
81cab20 Added Ant target for compiling 'optional' modules
egonw authored Jan 11, 2006
573 <target id="dist-joelib" name="dist-joelib" depends="nocompile-joelib, compile-joelib"/>
574 <target id="nocompile-joelib" name="nocompile-joelib" unless="${joelib.present}">
575 <echo message="JOELib is not found. Removed depending functionality. JOELib can be downloaded from http://joelib.sf.net/."/>
576 </target>
577 <target id="compile-joelib" name="compile-joelib" if="${joelib.present}">
578 <antcall target="compile-module"><param name="module" value="libio-joelib"/></antcall>
579 </target>
580
581 <target id="dist-jmol" name="dist-jmol" depends="nocompile-jmol, compile-jmol"/>
582 <target id="nocompile-jmol" name="nocompile-jmol" unless="${jmol.present}">
583 <echo message="Jmol is not found. Removed depending functionality. Jmol can be downloaded from http://www.jmol.org/."/>
584 </target>
585 <target id="compile-jmol" name="compile-jmol" if="${jmol.present}">
586 <antcall target="compile-module"><param name="module" value="io-jmol"/></antcall>
587 </target>
588
589 <target id="dist-java3d" name="dist-java3d" depends="nocompile-java3d, compile-java3d"/>
590 <target id="nocompile-java3d" name="nocompile-java3d" unless="${java3d.present}">
591 <echo message="Java3d is not found. Removed depending functionality. Java3d can be downloaded from http://java.sun.com/."/>
592 </target>
593 <target id="compile-java3d" name="compile-java3d" if="${java3d.present}">
594 <antcall target="compile-module"><param name="module" value="java3d"/></antcall>
595 </target>
596
597 <target id="dist-optional" name="dist-optional" depends="dist-all"
598 description="Compile CDK modules that require optional libraries">
599 <antcall target="dist-java3d"/>
600 <antcall target="dist-jmol"/>
601 <antcall target="dist-joelib"/>
602 </target>
fe65a98 Fixed dependencies
egonw authored May 11, 2006
603
604 <target id="dist-all" name="dist-all" description="dist-all">
9012143 Reworked dependencies a bit, fixing the -DskipDoclet option
egonw authored May 3, 2005
605 <antcall target="compile-init"/>
bfe0e17 Build interfaces before data
egonw authored Aug 31, 2005
606 <antcall target="compile-module"><param name="module" value="interfaces"/></antcall>
c378f2b Synched indentation
egonw authored Nov 18, 2005
607 <antcall target="compile-module"><param name="module" value="core"/></antcall>
676c95b Cleaned up more of the build file
egonw authored Apr 22, 2005
608 <antcall target="compile-module"><param name="module" value="standard"/></antcall>
ffb300f Updated dependencies for new sdg and control modules
egonw authored Aug 5, 2006
609 <antcall target="compile-module"><param name="module" value="render"/></antcall>
610 <antcall target="compile-module"><param name="module" value="io"/></antcall>
611 <antcall target="compile-module"><param name="module" value="valencycheck"/></antcall>
612 <antcall target="compile-module"><param name="module" value="sdg"/></antcall>
613 <antcall target="compile-module"><param name="module" value="control"/></antcall>
d5e83b5 Made CDK build system aware of the new data-debug module.
egonw authored Dec 15, 2005
614 <antcall target="compile-module"><param name="module" value="data"/></antcall>
7269de8 OK, added test suite for NoNotify classes
egonw authored Apr 12, 2006
615 <antcall target="compile-module"><param name="module" value="datadebug"/></antcall>
616 <antcall target="compile-module"><param name="module" value="nonotify"/></antcall>
206145b Added a new module 'pdb' with a new class PDBAtom; PDB fields are now…
egonw authored May 4, 2005
617 <antcall target="compile-module"><param name="module" value="pdb"/></antcall>
666b237 Ok, next step... getting extra and apps to the new system; lot's of u…
egonw authored Apr 22, 2005
618 <antcall target="compile-module"><param name="module" value="extra"/></antcall>
6e91a8e Created the test-smiles module
egonw authored Apr 21, 2006
619 <antcall target="compile-module"><param name="module" value="smiles"/></antcall>
ea39d29 More dependency clean up... A lot is working now, but the cyclic depe…
egonw authored Apr 22, 2005
620 <antcall target="compile-module"><param name="module" value="libio-cml"/></antcall>
e8cbc78 Attempting to get libioweka to work: no '-' in module names, if you w…
egonw authored Aug 18, 2006
621 <antcall target="compile-module"><param name="module" value="libioweka"/></antcall>
6d4627d Fixed a dependency problem
egonw authored Jul 14, 2006
622 <antcall target="compile-module"><param name="module" value="libio-openbabel"/></antcall>
29687ca Added a CML Customizer interface which reduces the CDK module depende…
egonw authored May 5, 2005
623 <antcall target="compile-module"><param name="module" value="pdb-cml"/></antcall>
3bdf862 clear the conflicts between charges and reactions
miguelrojasch authored May 10, 2006
624 <antcall target="compile-module"><param name="module" value="reaction"/></antcall>
625 <antcall target="compile-module"><param name="module" value="charges"/></antcall>
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
626 <antcall target="compile-module"><param name="module" value="qsar"/></antcall>
29687ca Added a CML Customizer interface which reduces the CDK module depende…
egonw authored May 5, 2005
627 <antcall target="compile-module"><param name="module" value="qsar-cml"/></antcall>
6270665 Some build fixes
egonw authored Apr 20, 2006
628 <antcall target="compile-module"><param name="module" value="qsar-pdb"/></antcall>
f86e117 Created the smiles module
egonw authored Apr 20, 2006
629 <antcall target="compile-module"><param name="module" value="forcefield"/></antcall>
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
630 <antcall target="compile-module"><param name="module" value="builder3d"/></antcall>
3e84ce7 Setup a SVG module
egonw authored Apr 14, 2006
631 <antcall target="compile-module"><param name="module" value="svg"/></antcall>
9ebdc29 Fixed build order.
egonw authored May 3, 2006
632 <antcall target="compile-module"><param name="module" value="experimental"/></antcall>
6270665 Some build fixes
egonw authored Apr 20, 2006
633 <antcall target="compile-module"><param name="module" value="applications"/></antcall>
38401bd Put applications in separate jar.
egonw authored Aug 27, 2002
634 </target>
635
7511417 Fixed a dependency problem.
egonw authored Apr 6, 2006
636 <target id="test-dist-all" name="test-dist-all" description="test-dist-all">
637 <antcall target="compile-init"/>
3f7319a First step in modularized testing
egonw authored Apr 6, 2006
638 <antcall target="compile-module"><param name="module" value="test-core"/></antcall>
28b1d67 Mega patch: test-standard now exists, and tests for test-reaction can…
egonw authored Apr 6, 2006
639 <antcall target="compile-module"><param name="module" value="test-standard"/></antcall>
0f12eb5 Made a test-data module
egonw authored Apr 6, 2006
640 <antcall target="compile-module"><param name="module" value="test-data"/></antcall>
f05b101 Renamed module and made separate test module
egonw authored Apr 12, 2006
641 <antcall target="compile-module"><param name="module" value="test-datadebug"/></antcall>
7269de8 OK, added test suite for NoNotify classes
egonw authored Apr 12, 2006
642 <antcall target="compile-module"><param name="module" value="test-nonotify"/></antcall>
407c234 Made a test-io module
egonw authored Apr 6, 2006
643 <antcall target="compile-module"><param name="module" value="test-io"/></antcall>
7511417 Fixed a dependency problem.
egonw authored Apr 6, 2006
644 <antcall target="compile-module"><param name="module" value="test-extra"/></antcall>
6e91a8e Created the test-smiles module
egonw authored Apr 21, 2006
645 <antcall target="compile-module"><param name="module" value="test-smiles"/></antcall>
e8cbc78 Attempting to get libioweka to work: no '-' in module names, if you w…
egonw authored Aug 18, 2006
646 <antcall target="compile-module"><param name="module" value="test-libioweka"/></antcall>
39b2a26 new test-module: test-reaction
miguelrojasch authored Apr 6, 2006
647 <antcall target="compile-module"><param name="module" value="test-reaction"/></antcall>
6e91a8e Created the test-smiles module
egonw authored Apr 21, 2006
648 <antcall target="compile-module"><param name="module" value="test-forcefield"/></antcall>
865fa00 Setup a valencycheck module with our crappy 'find bond order' algorithms
egonw authored Apr 15, 2006
649 <antcall target="compile-module"><param name="module" value="test-valencycheck"/></antcall>
908a364 Added missing build statement.
egonw authored Apr 17, 2006
650 <antcall target="compile-module"><param name="module" value="test-experimental"/></antcall>
913abbb Setup test module for the pdb module
egonw authored May 13, 2006
651 <antcall target="compile-module"><param name="module" value="test-qsar"/></antcall>
652 <antcall target="compile-module"><param name="module" value="test-pdb"/></antcall>
28b1d67 Mega patch: test-standard now exists, and tests for test-reaction can…
egonw authored Apr 6, 2006
653 <antcall target="compile-module"><param name="module" value="test-osjvmts"/></antcall>
7511417 Fixed a dependency problem.
egonw authored Apr 6, 2006
654 </target>
655
656 <target id="dist-large" name="dist-large" depends="dist-all"
7d866cb Updated and synched descriptions: try ant -projecthelp
egonw authored Jan 14, 2004
657 description="Builds on big jar file for the CDK, including experimental classes.">
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
658
659 <!-- first unjar the CDK and other jars we need -->
660 <delete dir="${build}"/>
661 <mkdir dir="${build}"/>
af5b768 cdk-all is now a self containing one-jar big CDK library (try java -j…
egonw authored Jun 4, 2004
662 <mkdir dir="${appjars.dir}"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
663 <unjar dest="${appjars.dir}">
664 <fileset dir="${lib}">
665 <includesfile name="${metainf}/applications.libdepends"/>
666 <includesfile name="${metainf}/builder3d.libdepends"/>
3673f87 Added missing jar in dist-large target
egonw authored Jun 25, 2006
667 <includesfile name="${metainf}/charges.libdepends"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
668 <includesfile name="${metainf}/core.libdepends"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
669 <includesfile name="${metainf}/datadebug.libdepends"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
670 <includesfile name="${metainf}/data.libdepends"/>
671 <includesfile name="${metainf}/experimental.libdepends"/>
672 <includesfile name="${metainf}/extra.libdepends"/>
673 <includesfile name="${metainf}/io-jmol.libdepends"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
674 <includesfile name="${metainf}/io.libdepends"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
675 <includesfile name="${metainf}/libio-cml.libdepends"/>
e8cbc78 Attempting to get libioweka to work: no '-' in module names, if you w…
egonw authored Aug 18, 2006
676 <includesfile name="${metainf}/libioweka.libdepends"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
677 <includesfile name="${metainf}/nonotify.libdepends"/>
678 <includesfile name="${metainf}/pdb-cml.libdepends"/>
679 <includesfile name="${metainf}/pdb.libdepends"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
680 <includesfile name="${metainf}/qsar.libdepends"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
681 <includesfile name="${metainf}/qsar-cml.libdepends"/>
682 <includesfile name="${metainf}/qsar-pdb.libdepends"/>
41766ae new reaction type class which contains reaction processes
miguelrojasch authored Apr 6, 2006
683 <includesfile name="${metainf}/reaction.libdepends"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
684 <includesfile name="${metainf}/render.libdepends"/>
685 <includesfile name="${metainf}/standard.libdepends"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
686 <includesfile name="${metainf}/svg.libdepends"/>
687 <includesfile name="${metainf}/valencycheck.libdepends"/>
4065b1a Added the sdg package to the dist large target
thomaskuhn authored Aug 25, 2006
688 <includesfile name="${metainf}/sdg.libdepends"/>
6270665 Some build fixes
egonw authored Apr 20, 2006
689 <includesfile name="${metainf}/forcefield.libdepends"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
690 </fileset>
691 <fileset dir="${dist}/jar">
692 <include name="cdk-applications.jar"/>
693 <include name="cdk-builder3d.jar"/>
3673f87 Added missing jar in dist-large target
egonw authored Jun 25, 2006
694 <include name="cdk-charges.jar"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
695 <include name="cdk-core.jar"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
696 <include name="cdk-datadebug.jar"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
697 <include name="cdk-data.jar"/>
698 <include name="cdk-experimental.jar"/>
699 <include name="cdk-extra.jar"/>
700 <include name="cdk-interfaces.jar"/>
701 <include name="cdk-io.jar"/>
702 <include name="cdk-io-jmol.jar"/>
703 <include name="cdk-libio-cml.jar"/>
e8cbc78 Attempting to get libioweka to work: no '-' in module names, if you w…
egonw authored Aug 18, 2006
704 <include name="cdk-libioweka.jar"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
705 <include name="cdk-nonotify.jar"/>
706 <include name="cdk-pdb-cml.jar"/>
707 <include name="cdk-pdb.jar"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
708 <include name="cdk-qsar.jar"/>
29687ca Added a CML Customizer interface which reduces the CDK module depende…
egonw authored May 5, 2005
709 <include name="cdk-qsar-cml.jar"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
710 <include name="cdk-qsar-pdb.jar"/>
41766ae new reaction type class which contains reaction processes
miguelrojasch authored Apr 6, 2006
711 <include name="cdk-reaction.jar"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
712 <include name="cdk-render.jar"/>
713 <include name="cdk-standard.jar"/>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
714 <include name="cdk-svg.jar"/>
9c7431a Fixed stupid typo
egonw authored Apr 18, 2006
715 <include name="cdk-valencycheck.jar"/>
f86e117 Created the smiles module
egonw authored Apr 20, 2006
716 <include name="cdk-forcefield.jar"/>
717 <include name="cdk-smiles.jar"/>
4065b1a Added the sdg package to the dist large target
thomaskuhn authored Aug 25, 2006
718 <include name="cdk-sdg.jar"/>
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
719 </fileset>
720 </unjar>
9db2505 Added missing jars to dist-large target
egonw authored Apr 18, 2006
721
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
722 <!-- then zip up things -->
41cd367 Modified the filename for the dist-large target to include the curren…
rajarshi authored Apr 30, 2006
723 <tstamp>
724 <format property="TODAY_SVN" pattern="yyyyMMdd" locale="en" />
725 </tstamp>
726 <jar jarfile="${dist}/jar/cdk-svn-${TODAY_SVN}.jar">
c660505 Reworked dist-large target
egonw authored Apr 24, 2005
727 <manifest>
728 <attribute name="Main-Class" value="org.openscience.cdk.applications.DistLargeInfo"/>
729 <section name="org.openscience.cdk">
730 <attribute name="Specification-Title" value="The Chemistry Development Kit"/>
731 <attribute name="Specification-Version" value="1.0"/>
732 <attribute name="Specification-Vendor" value="The CDK Project"/>
733 <attribute name="Implementation-Title" value="org.openscience.cdk"/>
734 <attribute name="Implementation-Version" value="${version}"/>
735 <attribute name="Implementation-Vendor" value="The CDK Project"/>
736 </section>
737 </manifest>
738 <fileset dir="${appjars.dir}">
739 <include name="**/*" />
740 </fileset>
741 </jar>
af5b768 cdk-all is now a self containing one-jar big CDK library (try java -j…
egonw authored Jun 4, 2004
742 </target>
743
8c06c63 Fixed inclusion of .javafiles, .classes, and .set files for easy buil…
egonw authored Aug 26, 2005
744 <target id="sourcedist" name="sourcedist" depends="init, runDoclet"
7d866cb Updated and synched descriptions: try ant -projecthelp
egonw authored Jan 14, 2004
745 description="Builds the source packages.">
a0ba425 Updated sourcedist target so that it uses the current date for the fi…
rajarshi authored May 16, 2006
746 <tstamp>
747 <format property="TODAY_SVN" pattern="yyyyMMdd" locale="en" />
748 </tstamp>
749 <property name="package" value="cdk-source-${TODAY_SVN}"/>
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored Feb 17, 2003
750 <property name="sourcedist.dir" value="${sourcedist}/${package}"/>
751 <copy todir="${sourcedist.dir}/${src}">
54a21b6 The .javafiles now get created in build/ instead of src/
egonw authored Aug 31, 2006
752 <fileset dir="${build}" includes="*.javafiles" />
753 <fileset dir="${build}" includes="*.classes" />
754 <fileset dir="${build}" includes="*.set" />
ad5a692 Included *.jj files in sourcedist (closes #888710)
egonw authored Feb 2, 2004
755 <fileset dir="${src}" includes="**/*.java" />
756 <fileset dir="${src}" includes="**/*.jj" />
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored Feb 17, 2003
757 <fileset dir="${src}" includes="org/openscience/cdk/io/cml/data/**" />
758 </copy>
759 <copy todir="${sourcedist.dir}">
7447e16 Getting ready for release
egonw authored Jan 25, 2005
760 <fileset dir="." includes="build.props" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
761 <fileset dir="." includes="build.xml" />
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored Feb 17, 2003
762 <fileset dir="." includes="javadoc.xml" />
763 <fileset dir="." includes="README" />
e99a32a Preparing for a release
egonw authored Jul 14, 2006
764 <fileset dir="." includes="changelog*" />
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored Feb 17, 2003
765 </copy>
d6cda7b Distribute LGPL license with sourcecode
egonw authored Jul 3, 2003
766 <copy todir="${sourcedist.dir}/jar">
fbf19c3 The source releases contained unnecessary libraries
egonw authored Jan 25, 2005
767 <fileset dir="jar">
768 <exclude name="libio/*.jar"/>
769 </fileset>
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored Feb 17, 2003
770 </copy>
998ae6a Updated for current CVS.
egonw authored Aug 26, 2005
771 <copy todir="${sourcedist.dir}/develjar">
772 <fileset dir="develjar">
773 <exclude name="pmd-1.8.jar"/>
774 <exclude name="doccheck.jar"/>
775 <exclude name="dbdoclet*.*"/>
776 </fileset>
777 </copy>
778 <copy todir="${sourcedist.dir}/src/data">
ddebad1 Modified to match new dir struct
egonw authored Aug 22, 2005
779 <fileset dir="src/data" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
780 </copy>
998ae6a Updated for current CVS.
egonw authored Aug 26, 2005
781 <copy todir="${sourcedist.dir}/src/META-INF">
782 <fileset dir="src/META-INF" />
783 </copy>
ad5a692 Included *.jj files in sourcedist (closes #888710)
egonw authored Feb 2, 2004
784 <copy tofile="${sourcedist.dir}/doc/javadoc/source//MakeJavaFilesFilesDoclet.java"
785 file="doc/javadoc/source/MakeJavaFilesFilesDoclet.java"/>
7aa27da Make sure the config.data files get included in the source dist (clos…
egonw authored Jun 26, 2004
786 <copy todir="${sourcedist.dir}/${src}/org/openscience/cdk/config/data/">
787 <fileset dir="${src}/org/openscience/cdk/config/data/"
e1f7ebb Do not try to build classes that depend on classes that depend on Java3D
egonw authored Oct 14, 2001
788 includes="*" />
789 </copy>
a289167 Minor tweak to get distribs working
egonw authored Sep 9, 2003
790 <copy
791 file="${src}/org/openscience/cdk/iupac/generator/data/IUPACNames.properties"
792 tofile="${sourcedist.dir}/${src}/org/openscience/cdk/iupac/generator/data/IUPACNames.properties" />
793 <copy
794 file="${src}/org/openscience/cdk/dict/data/chemical.xml"
795 tofile="${sourcedist.dir}/${src}/org/openscience/cdk/dict/data/chemical.xml" />
796 <copy
797 file="${src}/org/openscience/cdk/dict/data/elements.xml"
798 tofile="${sourcedist.dir}/${src}/org/openscience/cdk/dict/data/elements.xml" />
e2623a3 Added some missing files to the sourcedist
egonw authored Jan 15, 2005
799 <mkdir dir="${sourcedist.dir}/${src}/org/openscience/cdk/qsar/model/data/"/>
800 <copy todir="${sourcedist.dir}/${src}/org/openscience/cdk/qsar/model/data/">
801 <fileset dir="${src}/org/openscience/cdk/qsar/model/data/" includes="*.R"/>
802 </copy>
998ae6a Updated for current CVS.
egonw authored Aug 26, 2005
803 <mkdir dir="${sourcedist.dir}/${src}/org/openscience/cdk/modeling/forcefield/data/"/>
804 <copy todir="${sourcedist.dir}/${src}/org/openscience/cdk/modeling/forcefield/data/">
b566a03 Fixed copying of .prm files.
egonw authored Aug 26, 2005
805 <fileset dir="${src}/org/openscience/cdk/modeling/forcefield/data/" includes="*.prm"/>
998ae6a Updated for current CVS.
egonw authored Aug 26, 2005
806 </copy>
00c2efc Added missing builder3d templates to sourcedist.
egonw authored Aug 26, 2005
807 <mkdir dir="${sourcedist.dir}/${src}/org/openscience/cdk/modeling/builder3d/data/"/>
808 <copy todir="${sourcedist.dir}/${src}/org/openscience/cdk/modeling/builder3d/data/">
809 <fileset dir="${src}/org/openscience/cdk/modeling/builder3d/data/" includes="*.gz"/>
810 </copy>
9496005 Added missing manifest
egonw authored Apr 12, 2003
811 <copy todir="${sourcedist.dir}/${src}/">
812 <fileset dir="${src}/" includes="*.manifest" />
813 </copy>
d6cda7b Distribute LGPL license with sourcecode
egonw authored Jul 3, 2003
814 <mkdir dir="${sourcedist.dir}/doc/" />
815 <copy todir="${sourcedist.dir}/doc/">
816 <fileset dir="doc/" includes="lgpl.license" />
817 </copy>
7447e16 Getting ready for release
egonw authored Jan 25, 2005
818 <mkdir dir="${sourcedist.dir}/doc/javadoc" />
819 <copy todir="${sourcedist.dir}/doc/javadoc">
820 <fileset dir="doc/javadoc" includes="MakeJavaFilesFilesDoclet.class" />
821 <fileset dir="doc/javadoc" includes="MakeCDKSetFilesDoclet.class" />
822 </copy>
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored Feb 17, 2003
823 <tar tarfile="${package}.tar" basedir="${sourcedist}/" includes="${package}/**" />
a0ba425 Updated sourcedist target so that it uses the current date for the fi…
rajarshi authored May 16, 2006
824 <gzip zipfile="${package}.tar.gz" src="${package}.tar" />
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored Feb 17, 2003
825 <delete file="${package}.tar" />
826 <zip zipfile="${package}.zip" basedir="${sourcedist}/" includes="${package}/**" />
998ae6a Updated for current CVS.
egonw authored Aug 26, 2005
827 </target>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
828
6fa4411 Fail build process for test (etc) when JUnit is not installed in ANT_…
egonw authored Feb 2, 2004
829 <target id="noJunit" name="noJunit" depends="check" unless="junit.present">
32a84b3 Fixed location of junit.jar
egonw authored Apr 11, 2005
830 <fail message="JUnit is not installed in Ant. Please copy cdk/develjar/junit.jar to ${ant.home}/lib/."/>
6fa4411 Fail build process for test (etc) when JUnit is not installed in ANT_…
egonw authored Feb 2, 2004
831 </target>
832
a68b440 Moved a redundant dependency.
egonw authored Apr 6, 2006
833 <target id="test-module" name="test-module" depends="noJunit"
bd190c6 Finished transition to modularized testing
egonw authored Mar 30, 2006
834 description="Performs a full JUnit test for the CDK."
835 if="junit.present">
836
837 <echo message="Testing classes for CDK's ${module} module." />
838
839 <!-- check for availability for meta info files -->
840 <available file="${metainf}/test-${module}.cdkdepends" property="module.cdkdepends.present"/>
841 <available file="${metainf}/test-${module}.libdepends" property="module.libdepends.present"/>
842 <available file="${metainf}/test-${module}.devellibdepends" property="module.devellibdepends.present"/>
843
844 <!-- be somewhat informative -->
845 <echo message="CDK dependencies defined: ${module.cdkdepends.present}"/>
846 <echo message="Library dependencies defined: ${module.libdepends.present}"/>
847 <echo message="Developer Library dependencies defined: ${module.devellibdepends.present}"/>
848
849 <mkdir dir="${reports.tests}"/>
850 <junit printsummary="yes" haltonfailure="no" fork="yes" maxmemory="256m">
851 <classpath>
852 <fileset dir="${lib}" >
853 <exclude name="**/*" unless="module.libdepends.present" />
854 <includesfile name="${metainf}/test-${module}.libdepends" if="module.libdepends.present" />
855 </fileset>
856 <fileset dir="${devellib}">
857 <exclude name="**/*" unless="module.devellibdepends.present" />
858 <includesfile name="${metainf}/test-${module}.devellibdepends" if="module.devellibdepends.present" />
859 </fileset>
860 <fileset dir="${dist}/jar">
861 <exclude name="**/*" unless="module.cdkdepends.present" />
862 <includesfile name="${metainf}/test-${module}.cdkdepends" if="module.cdkdepends.present" />
863 <include name="cdk-test-${module}.jar" />
864 </fileset>
865 </classpath>
866 <test name="org.openscience.cdk.test.M${module}Tests"
867 haltonfailure="no"
868 todir="${reports.tests}"
869 outfile="result-${module}">
870 <formatter type="brief" />
871 </test>
872 </junit>
873 </target>
874
e44e207 Removed special ant target for experimental module
egonw authored Apr 16, 2006
875 <target id="test-all" name="test-all" depends="noJunit, dist-all, test-dist-all"
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
876 description="Performs a full JUnit test for the CDK."
877 if="junit.present">
28b1d67 Mega patch: test-standard now exists, and tests for test-reaction can…
egonw authored Apr 6, 2006
878 <antcall target="test-module"><param name="module" value="core"/></antcall>
0f12eb5 Made a test-data module
egonw authored Apr 6, 2006
879 <antcall target="test-module"><param name="module" value="data"/></antcall>
f05b101 Renamed module and made separate test module
egonw authored Apr 12, 2006
880 <antcall target="test-module"><param name="module" value="datadebug"/></antcall>
7269de8 OK, added test suite for NoNotify classes
egonw authored Apr 12, 2006
881 <antcall target="test-module"><param name="module" value="nonotify"/></antcall>
28b1d67 Mega patch: test-standard now exists, and tests for test-reaction can…
egonw authored Apr 6, 2006
882 <antcall target="test-module"><param name="module" value="standard"/></antcall>
407c234 Made a test-io module
egonw authored Apr 6, 2006
883 <antcall target="test-module"><param name="module" value="io"/></antcall>
6e91a8e Created the test-smiles module
egonw authored Apr 21, 2006
884 <antcall target="test-module"><param name="module" value="forcefield"/></antcall>
28b1d67 Mega patch: test-standard now exists, and tests for test-reaction can…
egonw authored Apr 6, 2006
885 <antcall target="test-module"><param name="module" value="extra"/></antcall>
865fa00 Setup a valencycheck module with our crappy 'find bond order' algorithms
egonw authored Apr 15, 2006
886 <antcall target="test-module"><param name="module" value="valencycheck"/></antcall>
5df2c32 new package for weka libio. And tests
miguelrojasch authored May 26, 2006
887 <antcall target="test-module"><param name="module" value="reaction"/></antcall>
cef30e4 added forgot class
miguelrojasch authored May 26, 2006
888 <antcall target="test-module"><param name="module" value="libioweka"/></antcall>
6e91a8e Created the test-smiles module
egonw authored Apr 21, 2006
889 <antcall target="test-module"><param name="module" value="smiles"/></antcall>
e44e207 Removed special ant target for experimental module
egonw authored Apr 16, 2006
890 <antcall target="test-module"><param name="module" value="experimental"/></antcall>
1d5576d added new test-model:qsar
miguelrojasch authored May 11, 2006
891 <antcall target="test-module"><param name="module" value="qsar"/></antcall>
913abbb Setup test module for the pdb module
egonw authored May 13, 2006
892 <antcall target="test-module"><param name="module" value="pdb"/></antcall>
aa26775 Ok, ant clean test works again. With 300-ish problems, but it runs :)
egonw authored Apr 22, 2005
893 </target>
3790797 Splitted tests which are supposed to fail from those which are suppos…
egonw authored Nov 2, 2003
894
40c31d0 Fixed more dependency problems: ant clean test-all now works
egonw authored Apr 24, 2005
895 <target id="limitations" name="limitations" depends="noJunit, dist-all"
7d866cb Updated and synched descriptions: try ant -projecthelp
egonw authored Jan 14, 2004
896 description="Performs a JUnit tests that indicate limitations of certain CDK algorithms/classes.">
3790797 Splitted tests which are supposed to fail from those which are suppos…
egonw authored Nov 2, 2003
897 <junit printsummary="yes" haltonfailure="yes" fork="yes">
898 <classpath>
40c31d0 Fixed more dependency problems: ant clean test-all now works
egonw authored Apr 24, 2005
899 <fileset dir="${dist}/jar">
900 <include name="cdk-*.jar" />
901 </fileset>
3790797 Splitted tests which are supposed to fail from those which are suppos…
egonw authored Nov 2, 2003
902 <fileset dir="${lib}">
903 <include name="*.jar" />
904 </fileset>
9e95b7b Finished splitting devel from user jars
egonw authored Apr 7, 2005
905 <fileset dir="${devellib}">
906 <include name="*.jar" />
907 </fileset>
3790797 Splitted tests which are supposed to fail from those which are suppos…
egonw authored Nov 2, 2003
908 <fileset dir="${lib}/libio">
909 <include name="*.jar" />
910 </fileset>
911 </classpath>
912 <test name="org.openscience.cdk.test.limitations.AlgorithmLimitations"
913 haltonfailure="no"
914 todir="${reports.tests}"
915 outfile="limitations">
916 <formatter type="brief" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
917 </test>
918 </junit>
40c31d0 Fixed more dependency problems: ant clean test-all now works
egonw authored Apr 24, 2005
919 </target>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored Sep 7, 2001
920
6029346 Added missing dependencies
egonw authored Jun 18, 2006
921 <target id="run-test" name="run-test" depends="dist-all,test-dist-all"
7d866cb Updated and synched descriptions: try ant -projecthelp
egonw authored Jan 14, 2004
922 description="Runs one specific JUnit test suite (org.openscience.cdk.test.&lt;class>) as a standalone application with -Dtestclass=&lt;class>.">
f1c49ce Added some feedback on what is tested
egonw authored Dec 18, 2003
923 <echo message="Running test class: testclass=${testclass}"/>
03a7837 merge with jcp21
shk3 authored Mar 7, 2006
924 <java classname="org.openscience.cdk.test.${testclass}" fork="yes" maxmemory="512m">
3d88ed4 Turn on CDK debugging while running JUnit test
egonw authored Aug 20, 2003
925 <jvmarg value="-Dcdk.debugging=true"/>
756bd80 When running a specific test (e.g. 'ant -Dtestclass=ringsearch.RingSe…
egonw authored Aug 18, 2003
926 <classpath>
bd397e8 Run test target should be working too now
egonw authored May 2, 2005
927 <fileset dir="${dist}/jar/">
928 <include name="*.jar" />
929 </fileset>
756bd80 When running a specific test (e.g. 'ant -Dtestclass=ringsearch.RingSe…
egonw authored Aug 18, 2003
930 <fileset dir="${lib}">
931 <include name="*.jar" />
932 </fileset>
9e95b7b Finished splitting devel from user jars
egonw authored Apr 7, 2005
933 <fileset dir="${devellib}">
934 <include name="*.jar" />
935 </fileset>
756bd80 When running a specific test (e.g. 'ant -Dtestclass=ringsearch.RingSe…
egonw authored Aug 18, 2003
936 <fileset dir="${lib}/libio">
937 <include name="*.jar" />
938 </fileset>
939 </classpath>
3af98a0 Added target for running one JUnit test *with* debug info
egonw authored Sep 3, 2003
940 </java>
bd397e8 Run test target should be working too now
egonw authored May 2, 2005
941 </target>
3af98a0 Added target for running one JUnit test *with* debug info
egonw authored Sep 3, 2003
942
6029346 Added missing dependencies
egonw authored Jun 18, 2006
943 <target id="junit-test" name="junit-test" depends="dist-all,test-dist-all,noJunit"
7d866cb Updated and synched descriptions: try ant -projecthelp
egonw authored Jan 14, 2004
944 description="Runs one specific JUnit test suite (org.openscience.cdk.test.&lt;class>) with -Dtestclass=&lt;class>.">
f1c49ce Added some feedback on what is tested
egonw authored Dec 18, 2003
945 <echo message="JUnit tests class: testclass=${testclass}"/>
3af98a0 Added target for running one JUnit test *with* debug info
egonw authored Sep 3, 2003
946 <junit printsummary="yes" haltonfailure="no" fork="yes">
79f7451 Switch debugging on in run-test target
steinbeck authored Aug 22, 2003
947 <jvmarg value="-Dcdk.debugging=true"/>
3af98a0 Added target for running one JUnit test *with* debug info
egonw authored Sep 3, 2003
948 <jvmarg value="-Dcdk.debug.stdout=true"/>
949 <classpath>
5b2a8d2 Reintroduced the junit-test target
egonw authored May 2, 2005
950 <fileset dir="${dist}/jar/">
951 <include name="*.jar" />
952 </fileset>
58425b9 Added use of properties to run target
steinbeck authored Aug 6, 2003
953 <pathelement path="${java.class.path}" />
954 <pathelement location="." />
955 <fileset dir="${lib}">
956 <include name="*.jar" />
957 </fileset>
9e95b7b Finished splitting devel from user jars
egonw authored Apr 7, 2005
958 <fileset dir="${devellib}">
959 <include name="*.jar" />
960 </fileset>
58425b9 Added use of properties to run target
steinbeck authored Aug 6, 2003
961 <fileset dir="${lib}/libio">
962 <include name="*.jar" />
963 </fileset>
964 </classpath>
3af98a0 Added target for running one JUnit test *with* debug info
egonw authored Sep 3, 2003
965 <test name="org.openscience.cdk.test.${testclass}"
966 haltonfailure="no"
967 todir="${reports.tests}"
968 outfile="result.${testclass}">
969 <formatter type="brief" />
970 </test>
971 </junit>
5b2a8d2 Reintroduced the junit-test target
egonw authored May 2, 2005
972 </target>
58425b9 Added use of properties to run target
steinbeck authored Aug 6, 2003
973
676c95b Cleaned up more of the build file
egonw authored Apr 22, 2005
974 <target id="run" name="run" depends="dist-all"
7d866cb Updated and synched descriptions: try ant -projecthelp
egonw authored Jan 14, 2004
975 description="Runs an application (org.openscience.cdk.&lt;class>) with -Drunclass=&lt;class>.">
58425b9 Added use of properties to run target
steinbeck authored Aug 6, 2003
976 <java classname="org.openscience.cdk.${runclass}" fork="yes" >
21cfa9b More documentation in AllRingsFinder and FingerPrinter on recent time…
steinbeck authored Jun 3, 2005
977 <!--jvmarg value="-Dcdk.debugging=true"/>
978 <jvmarg value="-Dcdk.debug.stdout=true"/-->
5d724f3 Fix and test for bug 931608
steinbeck authored May 4, 2005
979
980 <arg value="${arg1}" />
8cdb861 Extended build/test system to conditionally build/test non-Java5 stuf…
egonw authored Nov 18, 2004
981 <arg value="${arg2}" />
982 <arg value="${arg3}" />
983 <arg value="${arg4}" />
ac448e9 Nothing happend here.
steinbeck authored Aug 26, 2003
984 <classpath>
40c31d0 Fixed more dependency problems: ant clean test-all now works
egonw authored Apr 24, 2005
985 <fileset dir="${dist}/jar">
986 <include name="*.jar" />
987 </fileset>
8095921 Added rendering of wedged bonds.
egonw authored Dec 27, 2002
988 <fileset dir="${lib}">
989 <include name="*.jar" />
990 </fileset>
991 <fileset dir="${lib}/libio">
992 <include name="*.jar" />
993 </fileset>
994 </classpath>
8713d91 Finished work on basic JOELib <-> CDK convertor.
egonw authored Jul 18, 2002
995 </java>
996 </target>
997
c5eb7ec Added Ant build file.
egonw authored Mar 5, 2001
998 </project>
Something went wrong with that request. Please try again.