<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://chem-bla-ics.linkedchemistry.info/feed/by_tag/eclipse.xml" rel="self" type="application/atom+xml" /><link href="https://chem-bla-ics.linkedchemistry.info/" rel="alternate" type="text/html" /><updated>2026-02-28T20:19:43+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/feed/by_tag/eclipse.xml</id><title type="html">chem-bla-ics</title><subtitle>Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.</subtitle><author><name>Egon Willighagen</name></author><entry><title type="html">Making Bioclipse Development easier: the New Manager Wizard</title><link href="https://chem-bla-ics.linkedchemistry.info/2009/08/13/making-bioclipse-development-easier-new.html" rel="alternate" type="text/html" title="Making Bioclipse Development easier: the New Manager Wizard" /><published>2009-08-13T00:10:00+00:00</published><updated>2009-08-13T00:10:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2009/08/13/making-bioclipse-development-easier-new</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2009/08/13/making-bioclipse-development-easier-new.html"><![CDATA[<p>Today, <a href="http://jonalv.blogspot.com/">Jonathan</a>, Carl, Arvid and I made writing managers for <a href="http://www.bioclipse.net/">Bioclipse</a>
a bit easier. Plug-in development Eclipse in itself is already tricky to learn, and the use of Spring by the Bioclipse managers
is not helping. And because very soon two new people will be starting with writing a new manager rather soon, we thought it was
time to lower the activation barrier a bit.</p>

<p>The basic file structure of an Bioclipse manager looks like:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>net.bioclipse.foo/
|--META-INF
|   |--MANIFEST.MF
|   `-- spring
|       `-- context.xml
|-- plugin.xml
|-- .classpath
|-- .project
|-- build.properties
`-- src
    `-- net
        `-- bioclipse
            `-- foo
                |-- Activator.java
                `-- business
                    |-- FooManager.java
                    |-- FooManagerFactory.java
                    |-- IFooManager.java
                    |-- IJavaFooManager.java
                    `-- IJavaScriptFooManager.java
</code></pre></div></div>

<p>That is <strong><em>twelve</em></strong> files which need to be just right. I used to copy/paste from an earlier (simple) manager.</p>

<p>But we know and understand that setting up this framework is even more challenging if you have not done this
at least 10 times before. So, today we implemented a <em>New Wizard</em> (source available from this Git repository:
<a href="http://github.com/egonw/bioclipse.sdk/tree/master">bioclipse.sdk</a>).</p>

<p><img src="/blog//assets/images/bioclipseSDK1.png" alt="" /></p>

<p>It just asks you a project name:</p>

<p><img src="/blog//assets/images/bioclipseSDK2.png" alt="" /></p>

<p>and a few other settings:</p>

<p><img src="/blog//assets/images/bioclipseSDK3.png" alt="" /></p>

<h2 id="installing-the-bioclipse-sdk">Installing the Bioclipse SDK</h2>

<p>Installing this new plugin is fairly easy, and we have set up an <em>Update Site</em> at
<a href="http://pele.farmbio.uu.se/sdk/">http://pele.farmbio.uu.se/sdk/</a>. Just add this as Update site in Eclipse 3.4.x (which
is still required for Bioclipse2). It depends on the <a href="http://www.eclipse.org/jdt/">JDT</a> and
<a href="http://www.eclipse.org/pde/">PDE</a>, which you will likely already have installed being part of the default
Eclipse RCP release.</p>

<p>Go to the <em>Software Updates</em> in the <em>Help</em> menu:</p>

<p><img src="/blog//assets/images/bioclipseSDK4.png" alt="" /></p>

<p>and pick <em>Add Site…</em>. Enter the aforementioned update site as shown here:</p>

<p><img src="/blog//assets/images/bioclipseSDK5.png" alt="" /></p>

<p>Then, select the Bioclipse plugin:</p>

<p><img src="/blog//assets/images/bioclipseSDK6.png" alt="" /></p>

<p>After you hit <em>Install</em> and Eclipse install the fews tens of kBs of the plugin, the plugin should show up in
your installation, like it did in mine:</p>

<p><img src="/blog//assets/images/bioclipseSDK.png" alt="" /></p>

<h2 id="implementation-details">Implementation Details</h2>

<p>Writing the plugin was a challenge to me, and I am happy we were doing this in a hackaton. The Bioclipse-QSAR
project already had a New Project wizard, but not for a new Plug-in Project. Some things are just slightly
different then. For example, it turned out that creating a <code class="language-plaintext highlighter-rouge">.classpath</code> cannot be done in the regular way
(it never showed up), and I had to dig up some internal code of the PDE. Actually, our current implementation
is still using a few internal classes because of this:</p>

<div class="language-java highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nc">IClasspathEntry</span><span class="o">[]</span> <span class="n">entries</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">IClasspathEntry</span><span class="o">[</span><span class="mi">3</span><span class="o">];</span>
<span class="nc">String</span> <span class="n">executionEnvironment</span> <span class="o">=</span> <span class="kc">null</span><span class="o">;</span>
<span class="nc">ClasspathComputer</span><span class="o">.</span><span class="na">setComplianceOptions</span><span class="o">(</span>
  <span class="n">project</span><span class="o">,</span>
  <span class="nc">ExecutionEnvironmentAnalyzer</span><span class="o">.</span><span class="na">getCompliance</span><span class="o">(</span><span class="n">executionEnvironment</span><span class="o">)</span>
<span class="o">);</span>
<span class="n">entries</span><span class="o">[</span><span class="mi">0</span><span class="o">]</span> <span class="o">=</span> <span class="nc">ClasspathComputer</span><span class="o">.</span><span class="na">createJREEntry</span><span class="o">(</span><span class="n">executionEnvironment</span><span class="o">);</span>
<span class="n">entries</span><span class="o">[</span><span class="mi">1</span><span class="o">]</span> <span class="o">=</span> <span class="nc">ClasspathComputer</span><span class="o">.</span><span class="na">createContainerEntry</span><span class="o">();</span>
<span class="nc">IPath</span> <span class="n">path</span> <span class="o">=</span> <span class="n">project</span><span class="o">.</span><span class="na">getProject</span><span class="o">().</span><span class="na">getFullPath</span><span class="o">().</span><span class="na">append</span><span class="o">(</span><span class="s">"src/"</span><span class="o">);</span>
<span class="n">entries</span><span class="o">[</span><span class="mi">2</span><span class="o">]</span> <span class="o">=</span> <span class="nc">JavaCore</span><span class="o">.</span><span class="na">newSourceEntry</span><span class="o">(</span><span class="n">path</span><span class="o">);</span>
</code></pre></div></div>

<p>Ideas are most welcome on how to clean up this code, and not make it use internal, non-exported classes.
For the Java source files and even the <code class="language-plaintext highlighter-rouge">MANIFEST.MF</code> we are using templates, though I have seen this file being
created programmatically too.</p>

<p>I’m sure we’ll run in some needed plumbing here and there, but that’s what update sites are for, not?
<em>Release soon, release often</em> is an Open Source concept that works well in the Eclipse world.</p>]]></content><author><name>Egon Willighagen</name></author><category term="eclipse" /><category term="bioclipse" /><summary type="html"><![CDATA[Today, Jonathan, Carl, Arvid and I made writing managers for Bioclipse a bit easier. Plug-in development Eclipse in itself is already tricky to learn, and the use of Spring by the Bioclipse managers is not helping. And because very soon two new people will be starting with writing a new manager rather soon, we thought it was time to lower the activation barrier a bit.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/blog//assets/images/bioclipseSDK1.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/blog//assets/images/bioclipseSDK1.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Running Bioclipse Plugin Unit tests: solving the XPCOM error</title><link href="https://chem-bla-ics.linkedchemistry.info/2009/08/05/running-bioclipse-plugin-unit-tests.html" rel="alternate" type="text/html" title="Running Bioclipse Plugin Unit tests: solving the XPCOM error" /><published>2009-08-05T00:20:00+00:00</published><updated>2009-08-05T00:20:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2009/08/05/running-bioclipse-plugin-unit-tests</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2009/08/05/running-bioclipse-plugin-unit-tests.html"><![CDATA[<p>Sometimes you can feel so stupid. For example, when the answer is right on front of you, but only after many hours you realize the right
question belonging to that answer. For example, take <a href="http://ubuntuforums.org/showthread.php?t=920649&amp;page=2">this answer</a>:</p>

<blockquote>
  <p>add the line: -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner</p>
</blockquote>

<p>This is the problem I was trying to solve: I’m running 64bit Ubuntu Jaunty with Eclipse 3.4.2 for <a href="http://www.bioclipse.net/">Bioclipse</a>
development. The answer above is the correct answer. So, I added the line. To the <code class="language-plaintext highlighter-rouge">$HOME/eclipse.ini</code> and to the eclipse command line to
start the program. But I still good not run Bioclipse plugin unit tests; I kept getting that stupid error:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>org.eclipse.swt.SWTError: XPCOM error -2147467262
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java :1638)
at org.eclipse.swt.browser.Mozilla.setText(Mozilla.ja va:1861)
</code></pre></div></div>

<p>In retrospect, I was sort of asking the wrong question. I should have asked myself not why I got that XPCOM error even though I was using
the solution, but why running the unit tests was not affected by that solution. Realizing that, it became so obvious: the plugin unit
testing was using a clean environment, not based on the Eclipse environment I was working in; therefore, adding that line to my Eclipse
environment did not help. Instead, I only had to that line to the Run Configuration of my plugin unit tests too:</p>

<p><img src="/assets/images/eclipseSolution.png" alt="" /></p>

<p>Surely, there are aspects to this which helped me overlook this solution. For example, I had installed Eclipse freshly yesterday, and then
the it worked fine. Only after installing some EMF and GEF features, it stopped working again. Bitten by the correlation/causation
pattern :(</p>]]></content><author><name>Egon Willighagen</name></author><category term="bioclipse" /><category term="ubuntu" /><category term="eclipse" /><summary type="html"><![CDATA[Sometimes you can feel so stupid. For example, when the answer is right on front of you, but only after many hours you realize the right question belonging to that answer. For example, take this answer:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/assets/images/eclipseSolution.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/assets/images/eclipseSolution.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Which feature must I install for org.eclipse.zest?</title><link href="https://chem-bla-ics.linkedchemistry.info/2009/05/11/which-feature-must-i-install-for.html" rel="alternate" type="text/html" title="Which feature must I install for org.eclipse.zest?" /><published>2009-05-11T00:10:00+00:00</published><updated>2009-05-11T00:10:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2009/05/11/which-feature-must-i-install-for</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2009/05/11/which-feature-must-i-install-for.html"><![CDATA[<p>Dear lazyweb!</p>

<p>I have been trying to figure out which Eclipse 3.4 feature I must install from the update site to get the <em>org.eclipse.zest</em> plugin
in my environment.</p>

<p>I installed the <a href="http://www.eclipse.org/gef/zest/">Zest</a> feature (which I am going to use to
<a href="https://chem-bla-ics.linkedchemistry.info/2008/11/18/solubility-data-in-bioclipse-1.html">visualize an RDF network <i class="fa-solid fa-recycle fa-xs"></i></a>), but my workspace still
complained that I did not have the plugin.</p>

<p>Maybe I should rerun <em>Set Target Platform</em> for our product, but I and others in the Bioclipse development community have been
wondering how we can know what feature to install via the Software Updates… to get a particular plugin on your machine?</p>

<p>Looking forward to hearing from you,</p>

<p>Kind regards,</p>

<p>Egon</p>]]></content><author><name>Egon Willighagen</name></author><category term="bioclipse" /><category term="eclipse" /><category term="rdf" /><summary type="html"><![CDATA[Dear lazyweb!]]></summary></entry><entry><title type="html">Highlighting Console output in Eclipse with Grep Console</title><link href="https://chem-bla-ics.linkedchemistry.info/2009/03/23/highlighting-console-output-in-eclipse.html" rel="alternate" type="text/html" title="Highlighting Console output in Eclipse with Grep Console" /><published>2009-03-23T00:00:00+00:00</published><updated>2009-03-23T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2009/03/23/highlighting-console-output-in-eclipse</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2009/03/23/highlighting-console-output-in-eclipse.html"><![CDATA[<p>I ran into an <a href="http://www.eclipse.org/">Eclipse</a> <a href="http://marian.schedenig.name/projects/grep-console/">Grep Console</a> plugin (EPL license) today that takes
regular expression to color output in the Console. Given the amount of output <a href="http://www.bioclipse.net/">Bioclipse</a> and the
<a href="http://cdk.sf.net/">CDK</a> give when in DEBUG mode, this allows me to highlight those bits I am interested in. For example,
comments on the <em>Bioclipse managers</em>:</p>

<p><img src="/assets/images/regexpConsole.png" alt="" /></p>]]></content><author><name>Egon Willighagen</name></author><category term="eclipse" /><category term="bioclipse" /><summary type="html"><![CDATA[I ran into an Eclipse Grep Console plugin (EPL license) today that takes regular expression to color output in the Console. Given the amount of output Bioclipse and the CDK give when in DEBUG mode, this allows me to highlight those bits I am interested in. For example, comments on the Bioclipse managers:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/assets/images/regexpConsole.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/assets/images/regexpConsole.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Open{Data|Source|Standards} is not enough: we need Open Projects</title><link href="https://chem-bla-ics.linkedchemistry.info/2008/11/07/opendatasourcestandards-is-not-enough.html" rel="alternate" type="text/html" title="Open{Data|Source|Standards} is not enough: we need Open Projects" /><published>2008-11-07T00:00:00+00:00</published><updated>2008-11-07T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2008/11/07/opendatasourcestandards-is-not-enough</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2008/11/07/opendatasourcestandards-is-not-enough.html"><![CDATA[<p>The <a href="http://blueobelisk.sourceforge.net/wiki/Main_Page">Blue Obelisk</a> mantra <a href="http://blueobelisk.sourceforge.net/wiki/ODOSOS">ODOSOS</a>,
Open Data, Open Source, Open Standards, is well known, and much cited too. <a href="http://usefulchem.blogspot.com/">Jean-Claude Bradley</a>
popularized the <a href="http://en.wikipedia.org/wiki/Open_Notebook_Science">Open Notebook Science</a> (ONS). This has always been nagging me a bit,
because the <a href="http://cdk.sf.net/">CDK</a>, <a href="http://www.jmol.org/">Jmol</a>, JChemPaint and other chemistry projects have done that for much
longer, though we did not use notebooks as much, so called it just an open source project. It really is no different, IMO, though
surely, there are differences.</p>

<p>Anyway, the key thing which ONS and CDK and Jmol share, is that they use an Open Notebook. Not every Open Source or Open Data project does.
Actually, many scientific Open Source are not open Projects! They are more like the Cathedral than the wished-for Bazaar (see
<a href="http://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar">The Cathedral and the Bazaar</a>). So, Open Source (science) projects are certainly not ONS projects by default!</p>

<p>Now, the CDK actually is ONS, it is a Bazaar. The notebooks we use include:</p>

<ul>
  <li>open project via <a href="https://sourceforge.net/mail/?group_id=20024">mailing lists</a></li>
  <li>open methods/results via <a href="https://sourceforge.net/svn/?group_id=20024">subversion</a></li>
  <li>informal reporting via blogs (e.g. <a href="http://rguha.wordpress.com/">Rajarshi</a>, <a href="http://www.steinbeck-molecular.de/steinblog/">Christoph</a>, <a href="http://cdktaverna.wordpress.com/">Thomas</a>, mine)</li>
  <li>informal reporting via <a href="http://www.cdknews.org/">CDK News</a></li>
</ul>

<p>What more would you wish for? That’s not a rhetorical question. Remember that every reader of this blog is in
<a href="https://chem-bla-ics.linkedchemistry.info/2007/11/27/be-in-my-advisory-board-1-being-good.html">my advisory board <i class="fa-solid fa-recycle fa-xs"></i></a>!</p>

<p>Unfortunately, I do not create work at a workbench myself, so I do not produce new knowledge myself, other than extracted from existing
data. That’s really a shame, and I really do hope that Jean-Claude or <a href="http://blog.openwetware.org/scienceintheopen">Cameron</a> will send
me a box to measure solubilities (see <a href="http://usefulchem.blogspot.com/2008/10/rdf-triples-for-open-notebook-science.html">here</a>,
<a href="http://usefulchem.blogspot.com/2008/11/ons-solubility-web-query.html">here</a>, and
<a href="http://anybody.cephb.fr/perso/lindenb/tmp/jcbradley.rdf">here</a>,
<a href="http://rguha.wordpress.com/2008/11/06/solubility-queries-and-the-google-visualization-api/">here</a> for first data exploration),
even though I cannot participate in the <a href="http://usefulchem.blogspot.com/2008/11/submeta-open-notebook-science-awards.html">challenge</a>.
(hint, hint :)</p>

<h2 id="from-cathedral-to-bazaar-in-life-sciences">From Cathedral to Bazaar in Life Sciences</h2>

<p>One Cathedral we ran into with <a href="http://www.bioclipse.net/">Bioclipse</a> was <a href="http://www.biocatalogue.org/">BioCatalogue</a>,
which will serve as website where people can annotate and categorize (web) services. While the project has been around for a while, the
website was rather uninformative. Fortunately, the projects is going to open up, and be more Bazaar-like. For example, they
now started a <a href="http://www.biocatalogue.org/wiki">wiki</a> and a
<a href="http://listserv.manchester.ac.uk/cgi-bin/wa?SUBED1=biocatalogue-friends&amp;A=1">mailing list</a>. I hope these efforts will continue,
so that I can contribute from my point of view!</p>

<p>The <a href="http://embraceregistry.net/">EMBRACE Registry</a> is a project with similar goals and a rather nice outcome (which I learned about on
<a href="https://chem-bla-ics.linkedchemistry.info/2008/11/03/embrace-workshop-in-uppsala.html">Monday <i class="fa-solid fa-recycle fa-xs"></i></a>). It is actually anticipate to be replaced by or merge
with BioCatalogue. So, all data I entered, <a href="http://prints.cs.man.ac.uk:8081/category/tags/cheminformatics">cheminformatics workflows</a>
(look, <a href="https://chem-bla-ics.linkedchemistry.info/2008/10/18/chemoinformatics-p0wned-by.html">no ‘o’ <i class="fa-solid fa-recycle fa-xs"></i></a>), will later be available from BioCatalogue too.
That is already my first contribution to BioCatalogue. One enormously interesting feature of the Registry, is that is allows uploading of
code to test the service. This will mean the Registry will not only poll if the service is still online (by checking the WSDL file), it
will also test if the service behaves properly. Now, immediate thoughts are mashups with <a href="http://www.myexperiment.org/">MyExperiment</a>.
Each WSDL entry in the Registry points to MyExperiment workflows that use them, and the workflow page would indicate the status of all
used WDSL services. This integration was already anticipated long before I thought about it, as the involved Cathedrals were nicely
located in the same floor in Manchester.</p>

<p>Below is a screenshot from the EMBRACE Registry for the <a href="http://www.chemspider.com/">ChemSpider</a>
<a href="http://prints.cs.man.ac.uk:8081/service/massspecapi">WDSL entry</a> for <a href="http://www.myexperiment.org/workflows/97">a workspace</a>
I <a href="https://chem-bla-ics.linkedchemistry.info/2007/11/26/metabolomics-workflows-in-taverna.html">uploaded <i class="fa-solid fa-recycle fa-xs"></i></a> about a year ago to MyExperiment:</p>

<p><img src="/assets/images/registry.png" alt="" /></p>

<p>BTW, ChemSpider has an Advisory Board of which I am member, but it is also a classical (and intentional) Cathedral project. We do share common interests though, which makes us collaborate.</p>

<h2 id="why-important">Why Important?</h2>

<p>One recurrent theme in Open Source is <a href="http://en.wikipedia.org/wiki/Given_enough_eyeballs">given enough eyeballs, all bugs are shallow</a>.
This surely applies to science as well. The difference between the two is that in current science the eyes only inspect with a delay of at
least 6 months. Current practice is that research is finished (delay), and when decided publishable written up a paper (delay, and loosing
valuable information in the process, as you can read in my blog all the time), and published (even more delay). ONS changes that, and so do
Bazaar-like open source projects, such as the CDK, Jmol and Bioclipse. They bugs are present, whether we like it or not, not just in source
code, but in science too. Theories get overthrown, but why should we like the long delays current scientific good practice? Hate it! Work
around it. Use the Bazaar. Use ONS!</p>

<p>Now, ONS actually needs Open Source, allowing them to deal effectively with the data they produce; to allow extraction of new scientific
knowledge from the measurements. If Rajarshi and Pierre would not have made their efforts, other could not easily join in, leading to
those much hated delays. Bugs should be shallow, and openness allows us to make those bugs visible. We can prove that there is a bug,
without having to reproduce data ourselves, leading to those nasty delays again. Just copy the data, compare it to your own, do your
analysis.</p>

<p>One recent project in open source chemistry dealing with making bugs visible, is the web page set up by Andreas Tille for the
<a href="http://alioth.debian.org/projects/debichem">DebiChem project</a>. His page <a href="http://cdd.alioth.debian.org/debichem/bugs/">summarizes the bugs</a>
listed for the chemistry in Debian (which includes the Blue Obelisk projects <a href="http://packages.debian.org/lenny/avogadro">Avogadro</a>,
<a href="http://packages.debian.org/lenny/bodr">BODR</a>, <a href="http://packages.debian.org/lenny/libcdk-java">CDK</a>,
<a href="http://packages.debian.org/lenny/chemical-mime-data">Chemical MIME Data</a>,
<a href="http://packages.debian.org/lenny/kalzium">Kalzium</a> and <a href="http://packages.debian.org/lenny/openbabel">OpenBabel</a>):</p>

<p><img src="/assets/images/debichem.png" alt="" /></p>

<p>This data analysis helps the projects being analyzed.</p>

<h2 id="packaging">Packaging</h2>

<p>This brings me to a last topic, for this blog: packaging using Open Standards. In order to allow those eyeballs to spot bugs, it is of the
utmost importance to package your results in Open Standards, and not just one, but likely many. For Open Source projects this ultimately
means Distribution Packages (deb or rpm). If that goal has been achieved, you know your results can be read by anyone. Software should be
installable (make, ant, cmake, etc), and Data should be readable (no PDF, but RDF, XML, JSON, or whatever standard). Preferably not Excel,
as this is too free format (as Rajarshi also <a href="http://rguha.wordpress.com/2008/11/06/solubility-queries-and-the-google-visualization-api/">indicated</a>),
but with some added conventions it may do well. Blue Obelisk project are generally doing well in terms of packaging.</p>

<p>For the CDK, which already is reasonably well packaged, I am currently working on <a href="http://cdk.svn.sourceforge.net/viewvc/cdk/cdk-eclipse/trunk/">Eclipse</a>
and <a href="http://cdk.svn.sourceforge.net/viewvc/cdk/cdk-pom/trunk/">Maven2</a> packages. The former is already being used by Bioclipse, while the
second aims at <a href="https://sourceforge.net/projects/cml">Jumbo</a> (which has just seen a
<a href="https://sourceforge.net/project/showfiles.php?group_id=51361">new release</a>. <a href="http://wwmm.ch.cam.ac.uk/blogs/downing/">Jim</a>,
I’m happy to see the CMLDOM/Jumbo split!), <a href="http://www.cdk-taverna.de/">CDK-Taverna</a>, and possibly a third (Paula, what for do you plan
to use it?). The POM export is not fully working yet, but with four research sites involved in this Open Project, I’m sure we’ll work
it out.</p>

<p>The bottom line is, scientific progress would benefit so much from a Bazaar approach. And the key thing is not collaboration; that’s
something you can do in a Cathedral-like fashion too. No, the key thing is to be Open and allow anyone, even your worst nightmare, to
comment on what you do. Let him prove you wrong, openly, that is.</p>

<p>OK, there it is. My open notebook entry for this week. Now you know what I have been up to this week.</p>]]></content><author><name>Egon Willighagen</name></author><category term="odosos" /><category term="chemspider" /><category term="workflow" /><category term="cdk" /><category term="bioclipse" /><category term="cml" /><category term="debian" /><category term="eclipse" /><category term="rdf" /><category term="jmol" /><category term="blue-obelisk" /><summary type="html"><![CDATA[The Blue Obelisk mantra ODOSOS, Open Data, Open Source, Open Standards, is well known, and much cited too. Jean-Claude Bradley popularized the Open Notebook Science (ONS). This has always been nagging me a bit, because the CDK, Jmol, JChemPaint and other chemistry projects have done that for much longer, though we did not use notebooks as much, so called it just an open source project. It really is no different, IMO, though surely, there are differences.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/assets/images/registry.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/assets/images/registry.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Bioclipse2 Scripting #1: from SMILES to a UFF optimized structure in Jmol</title><link href="https://chem-bla-ics.linkedchemistry.info/2008/10/25/bioclipse2-scripting-1-from-smiles-to.html" rel="alternate" type="text/html" title="Bioclipse2 Scripting #1: from SMILES to a UFF optimized structure in Jmol" /><published>2008-10-25T00:00:00+00:00</published><updated>2008-10-25T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2008/10/25/bioclipse2-scripting-1-from-smiles-to</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2008/10/25/bioclipse2-scripting-1-from-smiles-to.html"><![CDATA[<p>After some difficulties this week with making an export of <a href="http://cdk.sf.net/">CDK</a> plugins in the
<a href="http://www.bioclipse.net/">Bioclipse2</a> <em>Cheminformatics feature</em> of with the <a href="http://cdk.svn.sourceforge.net/viewvc/cdk/cdk-eclipse/trunk/">cdk-eclipse</a>
software, I got the following cute Bioclipse2 script up and running:</p>

<div class="language-javascript highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nx">dimethylether</span> <span class="o">=</span> <span class="nx">cdk</span><span class="p">.</span><span class="nf">fromSMILES</span><span class="p">(</span> <span class="dl">"</span><span class="s2">COC</span><span class="dl">"</span> <span class="p">);</span>
<span class="nx">cdk</span><span class="p">.</span><span class="nf">addExplicitHydrogens</span><span class="p">(</span> <span class="nx">dimethylether</span> <span class="p">);</span>
<span class="nx">cdk</span><span class="p">.</span><span class="nf">generate3dCoordinates</span><span class="p">(</span> <span class="nx">dimethylether</span> <span class="p">);</span>

<span class="c1">// save as CML</span>
<span class="nx">cdk</span><span class="p">.</span><span class="nf">saveCML</span><span class="p">(</span> <span class="nx">dimethylether</span><span class="p">,</span> <span class="dl">"</span><span class="s2">/Virtual/dimethylether.cml</span><span class="dl">"</span> <span class="p">);</span>
<span class="nx">ui</span><span class="p">.</span><span class="nf">open</span><span class="p">(</span> <span class="dl">"</span><span class="s2">/Virtual/dimethylether.cml</span><span class="dl">"</span> <span class="p">);</span> <span class="c1">// this should open a JmolEditor</span>

<span class="nx">jmol</span><span class="p">.</span><span class="nf">minimize</span><span class="p">();</span>
</code></pre></div></div>

<p>You can see four of my favorite cheminformatics tools integrated: CDK is used to convert a SMILES into connection table with add explicit
hydrogens, and to create initial 3D coordinates (with the code from Christian Hoppe, and thanx to Stefan for fixing that code in the
CDK 1.1.x branch!). Then, <a href="http://cml.sourceforge.net/">CMLDOM</a> is used to create and save a CML document, which is then opened into a
<a href="http://www.jmol.org/">Jmol</a> editor in Bioclipse.</p>

<p>A variation of this script is visible in the following screenshot:</p>

<p><img src="/assets/images/mashupCmldomJmolCDK.png" alt="" /></p>

<p>This and other Bioclipse2 scripts I will post in <a href="http://gist.github.com/">Gist</a>, a sort of <a href="http://en.wikipedia.org/wiki/Pastebin">pastebin</a>
supporting version history, and I’ll tag them with <em>bioclipse gist</em> on <a href="http://delicious.com/egonw/">delicious</a>, so that you can always
browse them, comment on them, or add your own gists at
<a href="http://delicious.com/tag/bioclipse+gist">http://delicious.com/tag/bioclipse+gist</a>.</p>]]></content><author><name>Egon Willighagen</name></author><category term="bioclipse" /><category term="cml" /><category term="cdk" /><category term="jmol" /><category term="eclipse" /><category term="github" /><category term="cheminf" /><summary type="html"><![CDATA[After some difficulties this week with making an export of CDK plugins in the Bioclipse2 Cheminformatics feature of with the cdk-eclipse software, I got the following cute Bioclipse2 script up and running:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/assets/images/mashupCmldomJmolCDK.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/assets/images/mashupCmldomJmolCDK.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Git-Eclipse integration</title><link href="https://chem-bla-ics.linkedchemistry.info/2008/10/24/git-eclipse-integration.html" rel="alternate" type="text/html" title="Git-Eclipse integration" /><published>2008-10-24T00:00:00+00:00</published><updated>2008-10-24T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2008/10/24/git-eclipse-integration</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2008/10/24/git-eclipse-integration.html"><![CDATA[<p>Recently, I have been blogging about <a href="http://git.or.cz/">Git</a>:</p>

<ul>
  <li><a href="https://chem-bla-ics.linkedchemistry.info/2008/10/20/gittodo-support-for-freemind-graphical.html">GitToDo support for Freemind <i class="fa-solid fa-recycle fa-xs"></i></a></li>
  <li><a href="https://chem-bla-ics.linkedchemistry.info/2008/09/30/git-mirror-for-cdk.html">Git mirror for the CDK <i class="fa-solid fa-recycle fa-xs"></i></a></li>
  <li><a href="https://chem-bla-ics.linkedchemistry.info/2008/09/07/cdk-development-with-branches-using-git.html">CDK development with branches using Git <i class="fa-solid fa-recycle fa-xs"></i></a></li>
  <li><a href="https://chem-bla-ics.linkedchemistry.info/2007/10/31/offline-cdk-development-using-git-svn.html">Offline CDK development using git-svn <i class="fa-solid fa-recycle fa-xs"></i></a></li>
</ul>

<p>One concern expressed by people was the lack of integration with IDEs. Now, an <a href="http://git.or.cz/gitwiki/EclipsePlugin">Eclipse plugin</a>
seems well on its way:</p>

<p><img src="/assets/images/gitEclipse.png" alt="" /></p>

<p>With a experimental update site (<a href="http://www.jgit.org/update-site">http://www.jgit.org/update-site</a>),
the plugin is just an Eclipse reboot away.</p>

<p>Now, the plugin is still in its early stages and many <a href="http://git.or.cz/gitwiki/EclipsePluginWishlist">open feature requests</a>,
but fortunately the bug tracker can easy be <a href="http://code.google.com/p/egit/wiki/ConfiguringMylyn">integrated with Mylyn</a>,
and is <a href="http://repo.or.cz/w/egit.git?a=log">still actively developed</a>.</p>

<p>Cheers to Shawn and Robin for their work!</p>]]></content><author><name>Egon Willighagen</name></author><category term="git" /><category term="eclipse" /><summary type="html"><![CDATA[Recently, I have been blogging about Git:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/assets/images/gitEclipse.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/assets/images/gitEclipse.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Bugzilla Eclipse IDE integration: Mylyn</title><link href="https://chem-bla-ics.linkedchemistry.info/2008/10/20/bugzilla-eclipse-ide-integration-mylyn.html" rel="alternate" type="text/html" title="Bugzilla Eclipse IDE integration: Mylyn" /><published>2008-10-20T00:10:00+00:00</published><updated>2008-10-20T00:10:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2008/10/20/bugzilla-eclipse-ide-integration-mylyn</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2008/10/20/bugzilla-eclipse-ide-integration-mylyn.html"><![CDATA[<p>A new environment means new tools. <a href="http://www.bioclipse.net/">Bioclipse</a> is Eclipse RCP-based, so colleagues work with Eclipse and are much more into
Eclipse too. For example, into <a href="http://www.eclipse.org/mylyn/">Mylyn</a>. Mylyn is a tool to track tasks and assign context to them. The tasks I am interested
in (for this blog item), is fixing bug reports. Mylyn is rather suited for this, as it allows linking Java source files to bug reports. With a growing list
of <em>projects</em> in my navigator, browsing them becomes difficult because the list is way too long. Mylyn allows me to only show those source files which are
actually related to the bug I am fixing. Cool!</p>

<p>However, SourceForge, our bug tracker, integrates, but to too limited functionality. <a href="http://www.bugzilla.org/">Bugzilla</a>, though, has excellent integration.
And curious about what that would look like, I installed Bugzilla on an Ubuntu system. Which failed. Due to a bug know for two years already! Anyway, two
tweaks to the system got it working!</p>

<ol>
  <li>Work around the password in the postinstall script (see <a href="http://ph.ubuntuforums.com/showthread.php?t=625588">here</a>)</li>
  <li>Set up a /bugs/ link (see <a href="http://ubuntuforums.org/showthread.php?t=405283">here</a>)</li>
</ol>

<p>This is Bugzilla as viewed in Mylyn:</p>

<p><img src="/assets/images/bugzilla.png" alt="" /></p>

<p>(The bug content is derived from <a href="https://bugs.launchpad.net/bugs/1">Ubuntu bug #1.</a>)</p>]]></content><author><name>Egon Willighagen</name></author><category term="eclipse" /><category term="bioclipse" /><summary type="html"><![CDATA[A new environment means new tools. Bioclipse is Eclipse RCP-based, so colleagues work with Eclipse and are much more into Eclipse too. For example, into Mylyn. Mylyn is a tool to track tasks and assign context to them. The tasks I am interested in (for this blog item), is fixing bug reports. Mylyn is rather suited for this, as it allows linking Java source files to bug reports. With a growing list of projects in my navigator, browsing them becomes difficult because the list is way too long. Mylyn allows me to only show those source files which are actually related to the bug I am fixing. Cool!]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://chem-bla-ics.linkedchemistry.info/assets/images/bugzilla.png" /><media:content medium="image" url="https://chem-bla-ics.linkedchemistry.info/assets/images/bugzilla.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Running single JUnit tests in Eclipse</title><link href="https://chem-bla-ics.linkedchemistry.info/2006/10/26/running-single-junit-tests-in-eclipse.html" rel="alternate" type="text/html" title="Running single JUnit tests in Eclipse" /><published>2006-10-26T00:00:00+00:00</published><updated>2006-10-26T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2006/10/26/running-single-junit-tests-in-eclipse</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2006/10/26/running-single-junit-tests-in-eclipse.html"><![CDATA[<p>Unit testing is important when developing source code. <a href="http://www.junit.org/">JUnit</a> provides a library to facilitate this in Java,
and <a href="http://www.eclipse.org/te">Eclipse</a> had the functionality to run JUnit tests. Even better, it allows you to run single JUnit
tests, even in debug mode:</p>

<p><img src="/assets/images/JUnitTestInDebugMode.png" alt="" /></p>

<p>Just open the java class in your Package Explorer, right click on the JUnit method you want to run, then pick <code class="language-plaintext highlighter-rouge">Run As</code> or <code class="language-plaintext highlighter-rouge">Debug As</code>,
and then <code class="language-plaintext highlighter-rouge">JUnit test</code>.</p>]]></content><author><name>Egon Willighagen</name></author><category term="junit" /><category term="eclipse" /><summary type="html"><![CDATA[Unit testing is important when developing source code. JUnit provides a library to facilitate this in Java, and Eclipse had the functionality to run JUnit tests. Even better, it allows you to run single JUnit tests, even in debug mode:]]></summary></entry></feed>