Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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