{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2006/01/22/trouble-running-cdk-junit-tests-with.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/rn78z-r7j37",
      "url": "https://chem-bla-ics.linkedchemistry.info/2006/01/22/trouble-running-cdk-junit-tests-with.html",
      "title": "Trouble running the CDK JUnit tests with Cacao and Kaffe",
      "content_html": "<p>Because I am still looking forward to testing CDK against the latest <a href=\"http://gnu.wildebeest.org/diary/index.php?p=147\">Classpath 0.20</a>,\nI downloaded cacao 0.94-1 for Debian sid, then tried to compile CDK with it:</p>\n\n<div class=\"language-shell highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nv\">JAVA_HOME</span><span class=\"o\">=</span>/usr/lib/jvm/cacao ant <span class=\"nt\">-Dbuild</span>.compiler<span class=\"o\">=</span>gcj clean test-all\n</code></pre></div></div>\n\n<p>But that hangs at some point with zero load. I have no idea what is going on there. I’ve spoken with twisti on the\n#classpath IRC channel, and he helped me run the compile with gdb, which indicated that at some point all threads were waiting.</p>\n\n<p>I also tried it with kaffe 1.1.6.91-2 in sid, but now with a XML parser in the CLASSPATH, as Dalibor in\n<a href=\"/blog/2006/01/06/open-source-java-tool-chain-cdk.html\">a previous blog item suggested <i class=\"fa-solid fa-recycle fa-xs\"></i></a>:</p>\n\n<div class=\"language-shell highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nb\">export </span><span class=\"nv\">CLASSPATH</span><span class=\"o\">=</span>/usr/share/java/xercesImpl.jar:xmlParserAPIs.jar\n<span class=\"nv\">JAVA_HOME</span><span class=\"o\">=</span>/usr/lib/kaffe ant <span class=\"nt\">-Dbuild</span>.compiler<span class=\"o\">=</span>gcj clean test-all\n</code></pre></div></div>\n\n<p>But that failed too with:</p>\n\n<div class=\"language-shell highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nb\">test</span>:\n    <span class=\"o\">[</span>junit] Running org.openscience.cdk.test.CDKTests\n    <span class=\"o\">[</span>junit] kaffe-bin: /home/mkoch/debian/kaffe/kaffe-1.1.6.91/build-tree/kaffe-1.1.6.91/kaffe/kaffevm/jit3/machine.c:276: translate: Assertion <span class=\"sb\">`</span>reinvoke <span class=\"o\">==</span> <span class=\"nb\">false</span><span class=\"s1\">' failed.\n    [junit] Test org.openscience.cdk.test.CDKTests FAILED\n</span></code></pre></div></div>\n\n<p>It did work previously :(</p>\n\n<p>OK, to reproduce this yourself, you need to check out CDK from CVS (hoping that anonymous CVS is reasonable in sync, and online) with:</p>\n\n<div class=\"language-shell highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>cvs <span class=\"nt\">-d</span>:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cdk login\ncvs <span class=\"nt\">-z3</span> <span class=\"nt\">-d</span>:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cdk co <span class=\"nt\">-P</span> cdk\n</code></pre></div></div>",
      "summary": "Because I am still looking forward to testing CDK against the latest Classpath 0.20, I downloaded cacao 0.94-1 for Debian sid, then tried to compile CDK with it:",
      
      "date_published": "2006-01-22T00:00:00+00:00",
      "date_modified": "2023-08-11T00:00:00+00:00",
      "tags": ["cdk","java"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
