{
  "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/2011/06/19/cdk-module-dependencies-3.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/d5yyp-wqq61",
      "url": "https://chem-bla-ics.linkedchemistry.info/2011/06/19/cdk-module-dependencies-3.html",
      "title": "CDK Module dependencies #3",
      "content_html": "<p><a href=\"https://twitter.com/#!/jonalv\">Jonathan</a> is here with me to work on his fingerprint\nproject. He asked about <a href=\"http://cdk.sf.net/\">CDK</a> modules, which we use to control\ndependencies, within the CDK, as well as from the CDK on top of third-party\nlibraries. I wrote up previously this about it:</p>\n\n<ul>\n  <li><a href=\"http://chem-bla-ics.blogspot.com/2008/11/parallel-building-cdk.html\">Parallel building the CDK</a></li>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2009/07/31/maintaining-jchempaint-primary-patch.html\">Maintaining the JChemPaint-Primary patch <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n  <li><a href=\"https://chem-bla-ics.linkedchemistry.info/2008/03/23/cdk-module-dependencies-2.html\">CDK Module dependencies #2 <i class=\"fa-solid fa-recycle fa-xs\"></i></a></li>\n  <li><a href=\"http://chem-bla-ics.blogspot.com/2005/12/uml-diagram-of-cdk-module-dependencies.html\">UML diagram of CDK module dependencies</a></li>\n</ul>\n\n<p>Using this modularization we can control the cleanness of our code, and keep\nit small and extensible. For example, the full CDK jar without third-party libraries\nis already 16 MB large. With this modularization we can limit the number of\ndependencies, and allowing people to pick what parts they need. The modular\nbuilding ensures no unwanted dependencies sneak in.</p>\n\n<p>The <a href=\"https://chem-bla-ics.linkedchemistry.info/2008/03/23/cdk-module-dependencies-2.html\">last overview of CDK module dependencies <i class=\"fa-solid fa-recycle fa-xs\"></i></a>\nis a bit outdated. It is easy to recreate from the source code repository, using\nBeanShell and Graphviz with something like:</p>\n\n<div class=\"language-shell highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nv\">$ </span><span class=\"nb\">export </span><span class=\"nv\">CLASSPATH</span><span class=\"o\">=</span>jar/jgrapht-0.6.0.jar\n<span class=\"nv\">$ </span>bsh tools/deptodot.bsh <span class=\"nt\">--cdkLibs</span> &amp;gt<span class=\"p\">;</span> cdk.dot\n<span class=\"nv\">$ </span>dot <span class=\"nt\">-Tpng</span> <span class=\"nt\">-O</span> cdk.dot\n</code></pre></div></div>\n\n<p>The current master gives this diagram:</p>\n\n<p><img src=\"/assets/images/cdk.dot.png\" alt=\"\" /></p>\n\n<p>(The sinchi module no longer exists, but clearly is still picked up from somewhere :)</p>\n\n<p>It is also worth noting how this modularization is defined. We use JavaDoc for\nthis, and in particular by adding a <em>@cdk.module</em> tag to the class JavaDoc,\nwhich is explained in <a href=\"https://www.citeulike.org/group/15100/article/9429487\">this CDK News paper</a>.</p>",
      "summary": "Jonathan is here with me to work on his fingerprint project. He asked about CDK modules, which we use to control dependencies, within the CDK, as well as from the CDK on top of third-party libraries. I wrote up previously this about it:",
      "image": "https://chem-bla-ics.linkedchemistry.info/assets/images/cdk.dot.png",
      "date_published": "2011-06-19T00:00:00+00:00",
      "date_modified": "2026-12-05T00:00:00+00:00",
      "tags": ["cdk"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
