{
  "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/2009/08/05/running-bioclipse-plugin-unit-tests.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/b3t7r-0ge09",
      "url": "https://chem-bla-ics.linkedchemistry.info/2009/08/05/running-bioclipse-plugin-unit-tests.html",
      "title": "Running Bioclipse Plugin Unit tests: solving the XPCOM error",
      "content_html": "<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\nquestion belonging to that answer. For example, take <a href=\"http://ubuntuforums.org/showthread.php?t=920649&amp;page=2\">this answer</a>:</p>\n\n<blockquote>\n  <p>add the line: -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner</p>\n</blockquote>\n\n<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>\ndevelopment. 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\nstart the program. But I still good not run Bioclipse plugin unit tests; I kept getting that stupid error:</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>org.eclipse.swt.SWTError: XPCOM error -2147467262\nat org.eclipse.swt.browser.Mozilla.error(Mozilla.java :1638)\nat org.eclipse.swt.browser.Mozilla.setText(Mozilla.ja va:1861)\n</code></pre></div></div>\n\n<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\nthe solution, but why running the unit tests was not affected by that solution. Realizing that, it became so obvious: the plugin unit\ntesting was using a clean environment, not based on the Eclipse environment I was working in; therefore, adding that line to my Eclipse\nenvironment did not help. Instead, I only had to that line to the Run Configuration of my plugin unit tests too:</p>\n\n<p><img src=\"/assets/images/eclipseSolution.png\" alt=\"\" /></p>\n\n<p>Surely, there are aspects to this which helped me overlook this solution. For example, I had installed Eclipse freshly yesterday, and then\nthe it worked fine. Only after installing some EMF and GEF features, it stopped working again. Bitten by the correlation/causation\npattern :(</p>",
      "summary": "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:",
      "image": "https://chem-bla-ics.linkedchemistry.info/assets/images/eclipseSolution.png",
      "date_published": "2009-08-05T00:20:00+00:00",
      "date_modified": "2009-08-05T00:20:00+00:00",
      "tags": ["bioclipse","ubuntu","eclipse"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
