Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 749 lines (657 sloc) 36.783 kb
0ef4af6 Added cdk-experimental package
egonw authored
1 <project name="CDK" default="dist-default" basedir=".">
3d221c1 Added additional PDBReader tests.
yeldar authored
2
3a26de3 Made compilation with debug=on customizable.
egonw authored
3 <!-- compile options -->
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
4 <property name="build.sysclasspath" value="ignore" />
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
5 <property name="build.compiler" value="javac1.4" />
3a26de3 Made compilation with debug=on customizable.
egonw authored
6 <property name="debug" value="on" />
460ea79 Detect deprecated methods
egonw authored
7 <property name="deprecation" value="on" />
3a26de3 Made compilation with debug=on customizable.
egonw authored
8 <property name="optimization" value="off" />
9
10 <!-- where to find Java3D -->
11 <property name="pathtojava3d" value="" />
12 <property name="pathtojoelib" value="../../JoeLib/joelib/" />
13
14 <!-- directories -->
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
15 <property name="build" value="build" />
16 <property name="sourcedist" value="sourcedist" />
17 <property name="dist" value="dist" />
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored
18 <property name="doc" value="doc" />
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
19 <property name="src" value="src" />
20 <property name="lib" value="jar" />
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
21 <property name="src.tests" value="${src}/org/openscience/cdk/test" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
22 <property name="reports.tests" value="reports" />
943daec Location of Java3D classes is now settable. If Java3D is not installed i...
egonw authored
23
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar which ...
egonw authored
24 <!-- dirs for dist-core-debug task -->
25 <property name="build.src" value="${build}/${src}" />
26 <property name="build.core-debug.src" value="${build}/core-debug/${src}" />
27
28 <!-- class to run for testing-->
29 <property name="testclass" value="CDKTests" />
30 <property name="runclass" value="applications.Viewer" />
31 <property name="arg1" value="" />
32 <property name="arg2" value="" />
33 <property name="arg3" value="" />
34 <property name="arg4" value="" />
58425b9 Added use of properties to run target
steinbeck authored
35
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar which ...
egonw authored
36 <!-- CLASSPATH -->
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
37 <path id="project.class.path">
38 <pathelement
39 location="/usr/lib/j2sdk1.3/jre/lib/rt.jar" />
40
41 <pathelement location="." />
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
42 <fileset dir="${lib}">
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
43 <include name="batik-awt-util.jar" />
44 <include name="batik-dom.jar" />
45 <include name="batik-util.jar" />
46 <include name="baysmith-io.jar" />
47 <include name="dadml.jar" />
48 <include name="gnujaxp.jar" />
6cb784d Updated build file for new JSX version
egonw authored
49 <include name="JSX1.0.7.4.jar" />
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
50 <include name="junit.jar" />
51 <include name="log4j-core.jar" />
52 <include name="log4j.jar" />
53 <include name="mysql-2.0.4.jar" />
54 <include name="postgresql7.0-1.2.jar" />
55 <include name="printf.jar" />
56 <include name="vecmath1.2-1.14.jar" />
57 <include name="xerces-2.3.0.jar" />
8658001 Added libraries for XindiceReader
yz237 authored
58 <include name="xindice.jar" />
59 <include name="xmldb.jar" />
4ac3d10 Add patches to sourcedist
egonw authored
60 <include name="stmml.jar" />
61 <include name="castor-0.9.4.3-xml.jar" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
62 </fileset>
943daec Location of Java3D classes is now settable. If Java3D is not installed i...
egonw authored
63 <fileset dir="${pathtojava3d}">
64 <include name="*.jar" />
65 </fileset>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
66 </path>
67
cc7da6f Report on found 'requirements'
egonw authored
68 <target id="info" name="info" depends="check"
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
69 description="Gives information about the building process.">
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
70 <echo message="Using compiler: ${build.compiler}" />
cc7da6f Report on found 'requirements'
egonw authored
71 <echo message=" Jmol found: ${jmol.present}" />
72 <echo message=" JOELib found: ${joelib.present}" />
73 <echo message=" Java3D found: ${java3D.present}" />
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
74 </target>
75
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
76 <target id="check" name="check"
77 description="Checks which parts of CDK can be build.">
c8a7380 Fixed class to look for in jmol.jar
egonw authored
78 <available classname="org.openscience.jmol.app.Jmol"
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
79 classpath="${lib}/libio/jmol.jar"
80 property="jmol.present"/>
bd7054c Don't try to build libio if lib jars are not available
egonw authored
81 <available classname="joelib.molecule.JOEAtom"
82 classpath="${lib}/libio/joelib.jar"
83 property="joelib.present"/>
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
84 <available classname="javax.media.j3d.Canvas3D"
85 classpathref="project.class.path"
86 property="java3D.present"/>
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
87 </target>
88
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
89 <target id="init" name="init" depends="check">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
90 <tstamp />
91 <mkdir dir="${build}" />
3a96397 Changed build procedure to allow for patches. Patches are applied
egonw authored
92 <mkdir dir="${build.src}" />
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar which ...
egonw authored
93 <mkdir dir="${build}/core-debug" />
94 <mkdir dir="${build.core-debug.src}" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
95 <mkdir dir="${sourcedist}" />
96 <mkdir dir="${dist}" />
97 <mkdir dir="${reports.tests}" />
3a96397 Changed build procedure to allow for patches. Patches are applied
egonw authored
98
99 <!-- make a copy of the source tree. Patches are
100 applied to this copy, not the original -->
101 <copy todir="${build.src}/org">
102 <fileset dir="${src}/org"/>
103 </copy>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
104 </target>
105
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar which ...
egonw authored
106 <target id="init-core-debug" name="init-core-debug" depends="init">
107 <mkdir dir="${build}/core-debug" />
108 <mkdir dir="${build.core-debug.src}" />
109
110 <!-- even make a copy of the copy before the patches
111 are applied to make the core classes spit debug
112 info -->
113 <copy todir="${build.core-debug.src}">
114 <fileset dir="${build.src}" includesfile="${src}/core.javafiles" />
115 </copy>
116
117 <patch dir="${build.src}" strip="1"
118 patchfile="${src}/patches/org.openscience.cdk.applications.Viewer-NoJmol"/>
119 </target>
120
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
121 <target id="clean" name="clean" description="Removes autogenerated files.">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
122 <delete>
123 <fileset dir="." includes="**/*~" />
124 <fileset dir="." includes="*.tar.gz" />
125 <fileset dir="." includes="*.zip" />
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
126 <fileset dir="${src}" includes="*.classes" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
127 </delete>
128
129 <delete dir="${build}" />
130 <delete dir="${sourcedist}" />
4784091 New module: cdk-io. It only depends on cdk-core.
egonw authored
131 <delete dir="${dist}" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
132 <delete dir="${reports.tests}" />
133 </target>
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
134
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
135 <target id="compile" name="compile" description="Compiles all parts of the CDK">
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
136 <antcall target="compile-all"/>
137 </target>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
138
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
139 <target name="compile-all"
140 depends="init, info, compile-core, compile-standard, compile-extra, compile-io,
a2e5e7d Added apps jar to dist-all
egonw authored
141 compile-render, compile-render-with-java3d, compile-libio,
142 compile-apps">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
143 </target>
8713d91 Finished work on basic JOELib <-> CDK convertor.
egonw authored
144
afc68e1 Applications can now be build without having Jmol or Java3D
egonw authored
145 <target name="compile-libio" depends="dist-standard, dont-compile-libio-joelib,
146 compile-libio-joelib" />
bd7054c Don't try to build libio if lib jars are not available
egonw authored
147
148 <target name="dont-compile-libio-joelib" unless="joelib.present">
149 <echo message="Not compiling libio for JOELib, jar/libio/joelib.jar is not present" />
150 </target>
151
152 <target name="compile-libio-joelib" if="joelib.present">
153 <!-- Task to build the libio classes for JOELib. -->
154 <echo message="Compiling libio for JOELib" />
7ce93c7 Added cdk.Atom <-> joelib.molecule.JOEAtom Convertor procedure.
egonw authored
155
bd7054c Don't try to build libio if lib jars are not available
egonw authored
156 <javac destdir="${build}" optimize="${optimization}"
157 debug="${debug}" deprecation="${deprecation}">
158 <src path="${build.src}/org/openscience/cdk/libio/joelib" />
159 <src path="${build.src}/org/openscience/cdk/test/libio/joelib" />
160
161 <classpath refid="project.class.path" />
162 <classpath>
163 <fileset dir="${lib}/libio">
164 <include name="*.jar" />
165 </fileset>
166 </classpath>
167 </javac>
168 </target>
7ce93c7 Added cdk.Atom <-> joelib.molecule.JOEAtom Convertor procedure.
egonw authored
169
afc68e1 Applications can now be build without having Jmol or Java3D
egonw authored
170 <target name="patch-viewer-for-no-jmol" unless="jmol.present">
171 <!-- remove Jmol compile dependency from Viewer.java -->
172 <patch dir="${build.src}" strip="1"
173 patchfile="${src}/patches/org.openscience.cdk.applications.Viewer-NoJmol"/>
bd7054c Don't try to build libio if lib jars are not available
egonw authored
174 </target>
175
4b8b4e6 Added shell variant of test.bat
egonw authored
176 <target id="compile-apps" name="compile-apps"
177 depends="dist-extra, dist-libio, dist-render,
afc68e1 Applications can now be build without having Jmol or Java3D
egonw authored
178 dist-render-with-java3d, patch-viewer-for-no-jmol">
38401bd Put applications in separate jar.
egonw authored
179 <!-- Task to build the applications classes. Some require extra
180 jars, like those in ${lib}/libio -->
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
181 <echo message="Compiling classes defined in ${src}/applications.javafiles." />
38401bd Put applications in separate jar.
egonw authored
182
3a26de3 Made compilation with debug=on customizable.
egonw authored
183 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
184 debug="${debug}" deprecation="${deprecation}"
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
185 includesfile="${src}/applications.javafiles">
38401bd Put applications in separate jar.
egonw authored
186 <classpath refid="project.class.path" />
b60a5af Include jar/libio in classpath for compiling applications
egonw authored
187 <classpath>
188 <fileset dir="${lib}/libio">
189 <include name="*.jar" />
190 </fileset>
191 </classpath>
38401bd Put applications in separate jar.
egonw authored
192 </javac>
193 </target>
194
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
195 <target id="compile-core" name="compile-core" depends="init">
36b733d Adding cdk-standard module.
egonw authored
196 <echo message="Compiling classes for cdk-core module." />
20ba54a Simplifying the build proces.
egonw authored
197
3a26de3 Made compilation with debug=on customizable.
egonw authored
198 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
199 debug="${debug}" deprecation="${deprecation}"
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
200 includesfile="${src}/core.javafiles">
20ba54a Simplifying the build proces.
egonw authored
201 <classpath refid="project.class.path" />
202 </javac>
203 </target>
204
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar which ...
egonw authored
205 <target id="compile-core-debug" name="compile-core-debug" depends="init-core-debug">
206 <echo message="Compiling debug classes for cdk-core module." />
207
208 <javac srcdir="${build.core-debug.src}" destdir="${build}/core-debug" optimize="${optimization}"
209 debug="${debug}" deprecation="${deprecation}"
210 includesfile="${src}/core.javafiles">
211 <classpath refid="project.class.path" />
212 </javac>
213 </target>
214
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
215 <target id="compile-standard" name="compile-standard" depends="dist-core">
36b733d Adding cdk-standard module.
egonw authored
216 <echo message="Compiling classes for cdk-standard module." />
217
3a26de3 Made compilation with debug=on customizable.
egonw authored
218 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
219 debug="${debug}" deprecation="${deprecation}"
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
220 includesfile="${src}/standard.javafiles">
36b733d Adding cdk-standard module.
egonw authored
221 <classpath>
222 <fileset dir="${lib}">
6cb784d Updated build file for new JSX version
egonw authored
223 <include name="JSX1.0.7.4.jar" />
db10183 Moving general code out of ShelX reader.
egonw authored
224 <include name="vecmath1.2-1.14.jar" />
015e9b3 Fixed bug #649013.
egonw authored
225 <include name="log4j-core.jar" />
226 <include name="log4j.jar" />
4c55e18 Added missing jar files required for cdk-standard
egonw authored
227 <include name="gnujaxp.jar" />
228 <include name="xerces-2.3.0.jar" />
36b733d Adding cdk-standard module.
egonw authored
229 </fileset>
230 <fileset dir="${dist}/jar">
231 <include name="cdk-core.jar" />
232 </fileset>
233 </classpath>
234 </javac>
235 </target>
236
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
237 <target id="compile-io" name="compile-io" depends="init, dist-core, dist-standard">
36b733d Adding cdk-standard module.
egonw authored
238 <echo message="Compiling classes for cdk-io module." />
4784091 New module: cdk-io. It only depends on cdk-core.
egonw authored
239
3a26de3 Made compilation with debug=on customizable.
egonw authored
240 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
241 debug="${debug}" deprecation="${deprecation}">
fbd2c58 Fixed problem in compiling io module.
egonw authored
242 <include name="org/openscience/cdk/io/**/*"/>
243 <include name="org/openscience/cdk/ChemFile.java"/>
244 <include name="org/openscience/cdk/exception/UnsupportedChemObjectException.java"/>
245
4784091 New module: cdk-io. It only depends on cdk-core.
egonw authored
246 <classpath refid="project.class.path" />
247 <classpath>
248 <fileset dir="${dist}/jar">
249 <include name="cdk-core.jar" />
36b733d Adding cdk-standard module.
egonw authored
250 <include name="cdk-standard.jar" />
4784091 New module: cdk-io. It only depends on cdk-core.
egonw authored
251 </fileset>
252 </classpath>
253 </javac>
254 </target>
255
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
256 <target id="compile-render" name="compile-render" depends="init, dist-core, dist-standard">
8095921 Added rendering of wedged bonds.
egonw authored
257 <echo message="Compiling classes for cdk-render module." />
258
3a26de3 Made compilation with debug=on customizable.
egonw authored
259 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
260 debug="${debug}" deprecation="${deprecation}">
8095921 Added rendering of wedged bonds.
egonw authored
261 <include name="org/openscience/cdk/renderer/**/*"/>
262 <include name="org/openscience/cdk/controller/**/*"/>
5aa532f Add editor classes to compile and dist targets if appropriate
egonw authored
263 <include name="org/openscience/cdk/editor/**/*"/>
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
264 <excludesfile name="${src}/java3d.javafiles"/>
8095921 Added rendering of wedged bonds.
egonw authored
265
266 <classpath refid="project.class.path" />
267 <classpath>
268 <fileset dir="${dist}/jar">
269 <include name="cdk-core.jar" />
270 <include name="cdk-standard.jar" />
271 </fileset>
272 </classpath>
273 </javac>
274 </target>
275
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
276 <target id="compile-extra" name="compile-extra" depends="dist-standard">
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
277 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
e566bf2 Modified to make 'ant dist' run from a fresh CVS checkout.
egonw authored
278 debug="${debug}" deprecation="${deprecation}">
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
279 <classpath refid="project.class.path" />
280
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
281 <excludesfile name="${src}/java3d.javafiles" />
0ef4af6 Added cdk-experimental package
egonw authored
282 <excludesfile name="${src}/experimental.javafiles" />
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
283 <exclude name="org/openscience/cdk/libio/**/*.java" />
e566bf2 Modified to make 'ant dist' run from a fresh CVS checkout.
egonw authored
284 <exclude name="org/openscience/cdk/test/**/*.java" />
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
285 <exclude name="org/openscience/cdk/applications/**/*.java" />
286 </javac>
287 </target>
f095e4e Fixed dist.extra target. Not all classes were added to the jar: it did
egonw authored
288
0ef4af6 Added cdk-experimental package
egonw authored
289 <target id="compile-experimental" name="compile-experimental" depends="compile-extra">
290 <echo message="Compiling classes for cdk-experimental module." />
291
292 <javac srcdir="${build.src}" destdir="${build}" optimize="${optimization}"
293 debug="${debug}" deprecation="${deprecation}"
294 includesfile="${src}/experimental.javafiles">
295 <classpath refid="project.class.path" />
296 </javac>
297 </target>
298
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
299 <target id="compile-test" name="compile-test" depends="compile">
5caa95f Introduced more targets and more consistent (??) ladder of dependence.
steinbeck authored
300 <!-- Task to build the test classes. -->
8d7368e Fixed some minor things.
egonw authored
301 <javac srcdir="${build.src}/org/openscience/cdk/test"
3a26de3 Made compilation with debug=on customizable.
egonw authored
302 destdir="${build}" optimize="${optimization}"
303 debug="${debug}" deprecation="${deprecation}">
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
304 <exclude name="renderer/Accel*.java" />
305 <exclude name="renderer/Orbitals*.java" />
306 <exclude name="libio/**/*.java" />
307 <exclude name="math/qm/VisualGaussiansCalculationTest.java" />
308 <exclude name="io/ZMatrixReaderTest.java" />
309
5caa95f Introduced more targets and more consistent (??) ladder of dependence.
steinbeck authored
310 <classpath refid="project.class.path" />
311 </javac>
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
312 </target>
313
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
314
315 <target name="compile-render-with-java3d"
316 depends="dont-compile-render-with-java3d, do-compile-render-with-java3d"/>
317
318 <target name="dont-compile-render-with-java3d" depends="compile-render"
319 unless="java3D.present">
320 <echo message="Cannot compile Java3D based viewer classes. Java3D is not present" />
afc68e1 Applications can now be build without having Jmol or Java3D
egonw authored
321
322 <!-- remove Java3D compile dependency from Viewer.java -->
323 <patch dir="${build.src}" strip="1"
324 patchfile="${src}/patches/org.openscience.cdk.applications.Viewer-NoJava3D"/>
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
325 </target>
326
327 <target name="do-compile-render-with-java3d" depends="compile-render"
328 if="java3D.present">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
329 <mkdir dir="${build}" />
330
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
331 <javac srcdir="${build.src}"
332 destdir="${build}" optimize="${optimization}"
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
333 debug="${debug}" deprecation="${deprecation}"
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
334 includesfile="${src}/java3d.javafiles">
aa6535c Don't compile java source files in ${sourcedist} with java3D too.
egonw authored
335
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
336 <classpath refid="project.class.path" />
337 </javac>
338 </target>
339
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
340 <target id="dist.init" name="dist.init">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
341 <mkdir dir="${dist}/jar" />
342
343 <mkdir
344 dir="${build}/org/openscience/cdk/config" />
345
346 <copy
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
347 file="${src}/org/openscience/cdk/config/isotopes.xml"
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
348 tofile="${build}/org/openscience/cdk/config/isotopes.xml" />
349 <copy
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
350 file="${src}/org/openscience/cdk/config/structgen_atomtypes.xml"
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
351 tofile="${build}/org/openscience/cdk/config/structgen_atomtypes.xml" />
c3ba50b Added Log4J configuration file.
egonw authored
352 <copy
d525829 Also copy jmol_atomtypes.txt into jars.
egonw authored
353 file="${src}/org/openscience/cdk/config/jmol_atomtypes.txt"
354 tofile="${build}/org/openscience/cdk/config/jmol_atomtypes.txt" />
355 <copy
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
356 file="${src}/org/openscience/cdk/config/log4j.properties"
c3ba50b Added Log4J configuration file.
egonw authored
357 tofile="${build}/org/openscience/cdk/config/log4j.properties" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
358
359 <mkdir
360 dir="${build}/org/openscience/cdk/io/cml/data" />
361
362 <copy
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
363 file="${src}/org/openscience/cdk/io/cml/data/cml1_0.dtd"
f8fea66 Put new CML DTDs in the distribution.
egonw authored
364 tofile="${build}/org/openscience/cdk/io/cml/data/cml1_0.dtd" />
365 <copy
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
366 file="${src}/org/openscience/cdk/io/cml/data/cml1_0_1.dtd"
f8fea66 Put new CML DTDs in the distribution.
egonw authored
367 tofile="${build}/org/openscience/cdk/io/cml/data/cml1_0_1.dtd" />
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
368
369 <!-- generate lists of class files that should end up in
370 the jars for the modules -->
371 <copy file="${src}/core.javafiles" tofile="${src}/core.classes"/>
372 <replace file="${src}/core.classes" token=".java" value=".class"/>
373
374 <copy file="${src}/java3d.javafiles" tofile="${src}/java3d.classes"/>
375 <replace file="${src}/java3d.classes" token=".java" value=".class"/>
376
377 <copy file="${src}/standard.javafiles" tofile="${src}/standard.classes"/>
378 <replace file="${src}/standard.classes" token=".java" value=".class"/>
379
380 <copy file="${src}/applications.javafiles" tofile="${src}/applications.classes"/>
381 <replace file="${src}/applications.classes" token=".java" value=".class"/>
382
0ef4af6 Added cdk-experimental package
egonw authored
383 <copy file="${src}/experimental.javafiles" tofile="${src}/experimental.classes"/>
384 <replace file="${src}/experimental.classes" token=".java" value=".class"/>
385
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored
386 </target>
d313d03 Also include cml.dtd in normal jar.
egonw authored
387
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
388 <target id="dist-core" name="dist-core" depends="compile-core, dist.init">
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored
389 <jar jarfile="${dist}/jar/cdk-core.jar">
390 <fileset dir="${build}">
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
391 <includesfile name="${src}/core.classes" />
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored
392 </fileset>
393 </jar>
394 </target>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
395
6fa86d2 Added task dist core-debug which will create a cdk-core-debug.jar which ...
egonw authored
396 <target id="dist-core-debug" name="dist-core-debug" depends="compile-core-debug, dist.init">
397 <jar jarfile="${dist}/jar/cdk-core-debug.jar">
398 <fileset dir="${build}/core-debug">
399 <includesfile name="${src}/core.classes" />
400 </fileset>
401 </jar>
402 </target>
403
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
404 <target id="dist-extra" name="dist-extra" depends="dist-core, compile-extra">
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored
405 <jar jarfile="${dist}/jar/cdk-extra.jar">
406 <fileset dir="${build}">
f095e4e Fixed dist.extra target. Not all classes were added to the jar: it did
egonw authored
407 <include name="org/openscience/cdk/**/**" />
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored
408 <!-- Exclude core classes -->
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
409 <excludesfile name="${src}/core.classes" />
0ef4af6 Added cdk-experimental package
egonw authored
410 <!-- Exclude classes in cdk-io module -->
8095921 Added rendering of wedged bonds.
egonw authored
411 <exclude name="org/openscience/cdk/io/**" />
495e7da Removed classes in cdk-extra module that belong elsewhere
egonw authored
412 <exclude name="org/openscience/cdk/ChemFile.class" />
0ef4af6 Added cdk-experimental package
egonw authored
413 <!-- Exclude classes in cdk-render module -->
8095921 Added rendering of wedged bonds.
egonw authored
414 <exclude name="org/openscience/cdk/renderer/**" />
415 <exclude name="org/openscience/cdk/controller/**" />
5aa532f Add editor classes to compile and dist targets if appropriate
egonw authored
416 <exclude name="org/openscience/cdk/editor/**" />
495e7da Removed classes in cdk-extra module that belong elsewhere
egonw authored
417 <exclude name="org/openscience/cdk/event/**" />
8713d91 Finished work on basic JOELib <-> CDK convertor.
egonw authored
418 <!-- Exclude libio classes -->
419 <exclude name="org/openscience/cdk/libio/**" />
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
420 <exclude name="org/openscience/cdk/test/libio/**" />
38401bd Put applications in separate jar.
egonw authored
421 <!-- Exclude application classes -->
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
422 <excludesfile name="${src}/applications.classes" />
2c7c43d Fixed loading of files in JUnit IO tests: now using get resource.
egonw authored
423 <!-- Exclude test classes -->
424 <exclude name="org/openscience/cdk/test/**" />
0ef4af6 Added cdk-experimental package
egonw authored
425 <!-- Exclude classes in cdk-standard module -->
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
426 <excludesfile name="${src}/standard.classes" />
0ef4af6 Added cdk-experimental package
egonw authored
427 <!-- Exclude classes in cdk-experimental module -->
428 <excludesfile name="${src}/experimental.classes" />
429 </fileset>
430 </jar>
431 </target>
432
433 <target id="dist-experimental" name="dist-experimental" depends="compile-experimental, dist.init">
434 <jar jarfile="${dist}/jar/cdk-experimental.jar">
435 <fileset dir="${build}">
436 <includesfile name="${src}/experimental.classes" />
43d9399 Splitted cdk.jar into cdk-core.jar and cdk-extra.jar.
egonw authored
437 </fileset>
438 </jar>
439 </target>
440
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
441 <target id="dist-apps" name="dist-apps" depends="compile-apps">
4ae9e15 Compile PublicJmol when doing compile-libio.
egonw authored
442 <jar jarfile="${dist}/jar/cdk-apps.jar" manifest="${src}/cdk-apps.manifest">
38401bd Put applications in separate jar.
egonw authored
443 <fileset dir="${build}">
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
444 <includesfile name="${src}/applications.classes" />
38401bd Put applications in separate jar.
egonw authored
445 </fileset>
446 </jar>
447 </target>
448
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
449 <target id="dist-test" name="dist-test" depends="dist-all, compile-test">
2c7c43d Fixed loading of files in JUnit IO tests: now using get resource.
egonw authored
450 <jar jarfile="${dist}/jar/cdk-test.jar">
451 <fileset dir="${build}">
452 <include name="org/openscience/cdk/test/**" />
453 </fileset>
454 <fileset dir=".">
455 <include name="data/**" />
456 </fileset>
457 </jar>
458 </target>
459
bfe9294 Some changes to make a CML lib jar for Jmol.
egonw authored
460 <target name="dist-libio" depends="compile-libio" unless="libio.present">
8713d91 Finished work on basic JOELib <-> CDK convertor.
egonw authored
461 <jar jarfile="${dist}/jar/cdk-libio.jar">
462 <fileset dir="${build}">
463 <include name="org/openscience/cdk/libio/**" />
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
464 <include name="org/openscience/cdk/test/libio/**" />
4ae9e15 Compile PublicJmol when doing compile-libio.
egonw authored
465 </fileset>
466 <fileset dir="${build}">
467 <include name="org/openscience/jmol/**" />
8713d91 Finished work on basic JOELib <-> CDK convertor.
egonw authored
468 </fileset>
469 </jar>
470 </target>
471
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
472 <target id="dist-io" name="dist-io" depends="compile-io">
4784091 New module: cdk-io. It only depends on cdk-core.
egonw authored
473 <jar jarfile="${dist}/jar/cdk-io.jar">
474 <fileset dir="${build}">
475 <include name="org/openscience/cdk/io/**/*" />
6971b96 Added new CML IO test and Ant target for doing the tests for the classes...
egonw authored
476 <include name="org/openscience/cdk/ChemFile.class" />
4784091 New module: cdk-io. It only depends on cdk-core.
egonw authored
477 </fileset>
478 </jar>
479 </target>
480
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
481 <target id="dist-render" name="dist-render" depends="compile-render">
8095921 Added rendering of wedged bonds.
egonw authored
482 <jar jarfile="${dist}/jar/cdk-render.jar">
483 <fileset dir="${build}">
484 <include name="org/openscience/cdk/renderer/**/*" />
485 <include name="org/openscience/cdk/controller/**/*" />
5aa532f Add editor classes to compile and dist targets if appropriate
egonw authored
486 <include name="org/openscience/cdk/editor/**/*" />
495e7da Removed classes in cdk-extra module that belong elsewhere
egonw authored
487 <include name="org/openscience/cdk/event/**/*" />
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
488 <excludesfile name="${src}/java3d.classes" />
8095921 Added rendering of wedged bonds.
egonw authored
489 </fileset>
490 </jar>
491 </target>
492
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
493 <target name="dist-render-with-java3d" depends="compile-render-with-java3d"
494 if="java3D.present">
495 <jar jarfile="${dist}/jar/cdk-render.jar">
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
496 <fileset dir="${build}">
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
497 <include name="org/openscience/cdk/renderer/**/*" />
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
498 <include name="org/openscience/cdk/controller/**/*" />
90025c1 Added missing editor classes to cdk-render.jar when compiling with-java3...
egonw authored
499 <include name="org/openscience/cdk/editor/**/*" />
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
500 <include name="org/openscience/cdk/event/**/*" />
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
501 </fileset>
502 </jar>
503 </target>
504
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
505 <target id="dist-standard" name="dist-standard" depends="compile-standard, dist.init">
36b733d Adding cdk-standard module.
egonw authored
506 <jar jarfile="${dist}/jar/cdk-standard.jar">
507 <fileset dir="${build}">
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
508 <includesfile name="${src}/standard.classes" />
95c12c2 Added config files to cdk-standard module.
egonw authored
509 <include name="org/openscience/cdk/config/**" />
36b733d Adding cdk-standard module.
egonw authored
510 </fileset>
511 </jar>
512 </target>
513
0ef4af6 Added cdk-experimental package
egonw authored
514 <target name="dist-default" depends="dist-core, dist-standard,
515 dist-io, dist-render,
516 dist-extra, dist-libio,
517 dist-apps" />
518
8095921 Added rendering of wedged bonds.
egonw authored
519 <target name="dist-all" depends="dist-core, dist-standard,
90025c1 Added missing editor classes to cdk-render.jar when compiling with-java3...
egonw authored
520 dist-io, dist-render,
88b3428 Don't build accelerated 3D viewer class if Java3D is not present
egonw authored
521 dist-extra, dist-libio,
a2e5e7d Added apps jar to dist-all
egonw authored
522 dist-render-with-java3d,
0ef4af6 Added cdk-experimental package
egonw authored
523 dist-experimental,
a2e5e7d Added apps jar to dist-all
egonw authored
524 dist-apps" />
08b1a6d New CDK release. And moved JavaDoc generation back to javadoc.xml.
egonw authored
525
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
526 <target id="dist" name="dist" depends="dist-all"
a2e5e7d Added apps jar to dist-all
egonw authored
527 description="Builds the jar files for all parts of the CDK."/>
ce6c169 Include config and data files in dist-with-java3d too.
egonw authored
528
4ac3d10 Add patches to sourcedist
egonw authored
529 <target id="sourcedist" name="sourcedist" depends="init">
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored
530 <property name="package" value="cdk-source-${DSTAMP}"/>
531 <property name="sourcedist.dir" value="${sourcedist}/${package}"/>
532 <copy todir="${sourcedist.dir}/${src}">
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
533 <fileset dir="${src}" includes="*.javafiles" />
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored
534 <fileset dir="${src}" includes="**/*java" />
535 <fileset dir="${src}" includes="org/openscience/cdk/io/cml/data/**" />
536 </copy>
537 <copy todir="${sourcedist.dir}">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
538 <fileset dir="." includes="build.xml" />
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored
539 <fileset dir="." includes="javadoc.xml" />
540 <fileset dir="." includes="README" />
541 <fileset dir="." includes="CHANGELOG" />
542 </copy>
d6cda7b Distribute LGPL license with sourcecode
egonw authored
543 <copy todir="${sourcedist.dir}/jar">
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored
544 <fileset dir="jar" />
545 </copy>
546 <copy todir="${sourcedist.dir}/data">
547 <fileset dir="data" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
548 </copy>
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored
549 <copy todir="${sourcedist.dir}/${src}/org/openscience/cdk/config/">
5d39146 Fixed bug in build.xml.
egonw authored
550 <fileset dir="${src}/org/openscience/cdk/config/"
e1f7ebb Do not try to build classes that depend on classes that depend on Java3D
egonw authored
551 includes="*" />
552 </copy>
4ac3d10 Add patches to sourcedist
egonw authored
553 <copy todir="${sourcedist.dir}/${src}/patches/">
554 <fileset dir="${src}/patches/" includes="*" />
555 </copy>
9496005 Added missing manifest
egonw authored
556 <copy todir="${sourcedist.dir}/${src}/">
557 <fileset dir="${src}/" includes="*.manifest" />
558 </copy>
d6cda7b Distribute LGPL license with sourcecode
egonw authored
559 <mkdir dir="${sourcedist.dir}/doc/" />
560 <copy todir="${sourcedist.dir}/doc/">
561 <fileset dir="doc/" includes="lgpl.license" />
562 </copy>
24c8548 Fixed building of sourcedist. Now can be compiled.
egonw authored
563 <tar tarfile="${package}.tar" basedir="${sourcedist}/" includes="${package}/**" />
564 <gzip zipfile="${package}.tar.gz" src="cdk-source-${DSTAMP}.tar" />
565 <delete file="${package}.tar" />
566 <zip zipfile="${package}.zip" basedir="${sourcedist}/" includes="${package}/**" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
567 </target>
568
81258bd Added Ant task for doing Junit tests on the cdk-core and cdk-standard mo...
egonw authored
569 <target name="test-core" depends="dist-core, dist-test">
570 <junit printsummary="yes" haltonfailure="yes">
571 <classpath refid="project.class.path" />
572 <classpath>
573 <fileset dir="${dist}/jar">
574 <include name="cdk-core.jar" />
575 <include name="cdk-test.jar" />
576 </fileset>
577 </classpath>
578
579 <test name="org.openscience.cdk.test.CoreClassesTests"
580 haltonfailure="no" todir="${reports.tests}"
581 outfile="result.core">
582 <formatter type="brief" />
583 </test>
584 </junit>
585 </target>
586
587 <target name="test-standard" depends="dist-core, dist-standard, dist-test">
588 <junit printsummary="yes" haltonfailure="yes">
589 <classpath refid="project.class.path" />
590 <classpath>
591 <fileset dir="${dist}/jar">
592 <include name="cdk-core.jar" />
593 <include name="cdk-standard.jar" />
594 <include name="cdk-test.jar" />
595 </fileset>
596 </classpath>
597
598 <test name="org.openscience.cdk.test.StandardClassesTests"
599 haltonfailure="no" todir="${reports.tests}"
600 outfile="result.standard">
601 <formatter type="brief" />
602 </test>
603 </junit>
604 </target>
605
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
606 <target name="test-io" depends="dist-core, dist-standard, dist-test, dist-io">
607 <junit printsummary="yes" haltonfailure="yes" showoutput="yes">
6971b96 Added new CML IO test and Ant target for doing the tests for the classes...
egonw authored
608 <classpath refid="project.class.path" />
609 <classpath>
610 <fileset dir="${dist}/jar">
611 <include name="cdk-core.jar" />
612 <include name="cdk-standard.jar" />
613 <include name="cdk-io.jar" />
614 <include name="cdk-test.jar" />
615 </fileset>
616 </classpath>
617
262da08 Removed local, temporary change
egonw authored
618 <test name="org.openscience.cdk.test.io.IOTests"
6971b96 Added new CML IO test and Ant target for doing the tests for the classes...
egonw authored
619 haltonfailure="no" todir="${reports.tests}"
620 outfile="result.io">
621 <formatter type="brief" />
622 </test>
623 </junit>
624 </target>
01d6e3d Minor layout update.
egonw authored
625
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
626 <target id="test" name="test" depends="dist-all, dist-test" description="Performs a full JUnit test for the CDK">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
627 <junit printsummary="yes" haltonfailure="yes">
628 <classpath>
01d6e3d Minor layout update.
egonw authored
629 <pathelement path="${java.class.path}" />
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
630 <fileset dir="${lib}">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
631 <include name="*.jar" />
632 </fileset>
8cd7a4c build.xml
steinbeck authored
633 <fileset dir="${dist}/jar">
36bec3a Make use of new class-is-in-module lists in src/
egonw authored
634 <include name="cdk-core.jar" />
635 <include name="cdk-standard.jar" />
636 <include name="cdk-extra.jar" />
637 <include name="cdk-render.jar" />
638 <include name="cdk-io.jar" />
639 <include name="cdk-test.jar" />
8cd7a4c build.xml
steinbeck authored
640 </fileset>
38401bd Put applications in separate jar.
egonw authored
641 </classpath>
8cd7a4c build.xml
steinbeck authored
642 <test name="org.openscience.cdk.test.CDKTests"
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
643 haltonfailure="no"
644 todir="${reports.tests}"
645 outfile="result">
81258bd Added Ant task for doing Junit tests on the cdk-core and cdk-standard mo...
egonw authored
646 <formatter type="brief" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
647 </test>
648 </junit>
649 </target>
650
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
651 <target name="test-libio" depends="dist-libio">
652 <java classname="org.openscience.cdk.test.libio.joelib.JOELibIOTest" fork="yes">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
653 <classpath>
7b0e32f Updated run-with-java3d task for some recent changes.
egonw authored
654 <pathelement location="${dist}/jar/cdk-core.jar" />
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
655 <pathelement location="${dist}/jar/cdk-extra.jar" />
656 <pathelement location="${dist}/jar/cdk-libio.jar" />
7b0e32f Updated run-with-java3d task for some recent changes.
egonw authored
657 <pathelement path="${java.class.path}" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
658 <pathelement location="." />
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
659 <fileset dir="${lib}">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
660 <include name="*.jar" />
661 </fileset>
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
662 <fileset dir="${lib}/libio">
7b0e32f Updated run-with-java3d task for some recent changes.
egonw authored
663 <include name="*.jar" />
664 </fileset>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
665 </classpath>
666 </java>
667 </target>
668
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
669 <target name="run-with-java3d"
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
670 depends="dist-extra, dist-io, dist-extra, dist-render-with-java3d">
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
671 <java
672 classname="org.openscience.cdk.test.OrbitalsRenderer3DTest"
673 fork="yes">
674 <arg value="data/reserpine.mol" />
675
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
676 <classpath>
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
677 <pathelement location="${dist}/jar/cdk-core.jar" />
e8dadc5 Finished rewriting Ant tasks into cdk modules.
egonw authored
678 <pathelement location="${dist}/jar/cdk-standard.jar" />
679 <pathelement location="${dist}/jar/cdk-extra.jar" />
680 <pathelement location="${dist}/jar/cdk-io.jar" />
681 <pathelement location="${dist}/jar/cdk-render.jar" />
682 <pathelement location="${dist}/jar/cdk-render-with-java3d.jar" />
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
683 <pathelement path="${java.class.path}" />
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
684 <pathelement location="." />
6bcf896 Edited build file in order to reflect the move of the src folder
steinbeck authored
685 <fileset dir="${lib}">
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
686 <include name="*.jar" />
687 </fileset>
bd0b7db Added JUnit test for libio/joelib/Convertor.java. Adapted build.xml
egonw authored
688 <fileset dir="${pathto3djava}">
689 <include name="*.jar" />
690 </fileset>
5e15181 The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
steinbeck authored
691 </classpath>
692 </java>
693 </target>
694
58425b9 Added use of properties to run target
steinbeck authored
695 <target id="run-test" name="run-test" depends="dist-core, dist-extra, dist-test, dist-standard"
696 description="Runs an application">
697 <java classname="org.openscience.cdk.test.${testclass}" fork="yes">
698 <classpath>
699 <pathelement location="${dist}/jar/cdk-core.jar" />
700 <pathelement location="${dist}/jar/cdk-standard.jar" />
701 <pathelement location="${dist}/jar/cdk-io.jar" />
702 <pathelement location="${dist}/jar/cdk-render.jar" />
703 <pathelement location="${dist}/jar/cdk-extra.jar" />
704 <pathelement location="${dist}/jar/cdk-apps.jar" />
705 <pathelement location="${dist}/jar/cdk-test.jar" />
706 <pathelement location="${dist}/jar/cdk-libio.jar" />
707 <pathelement path="${java.class.path}" />
708 <pathelement location="." />
709 <fileset dir="${lib}">
710 <include name="*.jar" />
711 </fileset>
712 <fileset dir="${lib}/libio">
713 <include name="*.jar" />
714 </fileset>
715 </classpath>
716 </java>
717 </target>
718
719
86b1231 Added id's to target for easy browsing with jEdit's StructureBrowser
egonw authored
720 <target id="run" name="run" depends="dist-core, dist-extra, dist-test, dist-standard"
721 description="Runs an application">
58425b9 Added use of properties to run target
steinbeck authored
722 <java classname="org.openscience.cdk.${runclass}" fork="yes" >
723 <arg value="${arg1}" />
724 <arg value="${arg2}" />
725 <arg value="${arg3}" />
726 <arg value="${arg4}" />
8095921 Added rendering of wedged bonds.
egonw authored
727 <classpath>
728 <pathelement location="${dist}/jar/cdk-core.jar" />
729 <pathelement location="${dist}/jar/cdk-standard.jar" />
730 <pathelement location="${dist}/jar/cdk-io.jar" />
731 <pathelement location="${dist}/jar/cdk-render.jar" />
732 <pathelement location="${dist}/jar/cdk-extra.jar" />
733 <pathelement location="${dist}/jar/cdk-apps.jar" />
734 <pathelement location="${dist}/jar/cdk-test.jar" />
735 <pathelement location="${dist}/jar/cdk-libio.jar" />
736 <pathelement path="${java.class.path}" />
737 <pathelement location="." />
738 <fileset dir="${lib}">
739 <include name="*.jar" />
740 </fileset>
741 <fileset dir="${lib}/libio">
742 <include name="*.jar" />
743 </fileset>
744 </classpath>
8713d91 Finished work on basic JOELib <-> CDK convertor.
egonw authored
745 </java>
746 </target>
747
c5eb7ec Added Ant build file.
egonw authored
748 </project>
Something went wrong with that request. Please try again.