Published January 6, 2006 | https://doi.org/10.59350/933ah-c7f36

Open Source Java tool chain: CDK compiles and JUnit tests run

Creators & Contributors

While waiting for a Dragon calculation to finish (it does not work for molecules with more than 300 atoms!), I updated CDK's build.xml to support gjdoc. The build script is now able to compile the custom doclets we use for creating the src/*.javafiles and others from the Java source files. And using gij I could also run CDK's 1688 JUnit tests!

On my Debian GNU/Linux sid chroot, I have java-gcj-compat installed allowing me to do (thanx man-di!):

JAVA_HOME=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0 ant -Dbuild.compiler=gcj runDoclet
JAVA_HOME=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0 ant -Dbuild.compiler=gcj test-all

The first command creates the custom doclets, while the second command compiles the CDK and runs the JUnit tests. For Classpath developers: here's how to check out the cdk module from CVS.

The results are interesting: while Sun's JVM gives 11 problems, gij gives 399 problems. The test-all target creates a reports/result.txt document listing all failing tests, and I've put the diff -u for the two JVMs online. I will make diffs for jamvm, kaffe and cacao too.

I hope this gives the free Java community extra feedback on the excellent work they are doing.

Additional details

Description

While waiting for a Dragon calculation to finish (it does not work for molecules with more than 300 atoms!), I updated CDK's build.xml to support gjdoc. The build script is now able to compile the custom doclets we use for creating the src/*.javafiles and others from the Java source files. And using gij I could also run CDK's 1688 JUnit tests!

Identifiers

UUID
ee8b8b60-b178-4fd3-98b2-4f0436dac2b6
GUID
https://doi.org/10.59350/933ah-c7f36
URL
https://chem-bla-ics.linkedchemistry.info/2006/01/06/open-source-java-tool-chain-cdk.html

Dates

Issued
2006-01-06T00:00:00
Updated
2025-02-13T00:00:00