Blog Archives

Setting up a Local p2 Repository

I’m currently working on an Eclipse RCP application that uses PAX Logging. The easiest way to use the required bundles is to put them in a folder referenced by your Target Platform Definition. However, there are a couple of major

Tagged with: , , , , ,
Posted in Eclipse RCP, Equinox

Ubuntu Virtual Machine Setup

To successfully build an e4 RCP application for Mac OX S you need a Linux environment. The following instructions are a record of how I set up Ubuntu 14.04 on VirtualBox 4.3.12 Prerequisites Windows 7 Professional 64-bit VirtualBox 4.3.12 ubuntu-14.04.1-desktop-amd64.iso

Tagged with: , , , ,
Posted in Eclipse RCP, Ubuntu

Generating HTML tables with XSLT

The following code snippet is a relatively simple and reusable implementation for generating HTML table content. <!– The number of columns in the generated table –> <xsl:variable name=”nColumns” select=”3″ /> <!– XPath indexes start at 1, not 0. ‘row’ and

Tagged with: , , ,
Posted in XSLT

Eclipse 4.4.0 – Tool bar item visibility based on the currently active perspective

Displaying trimmed window tool bar items based on the currently active perspective in an Eclipse 4.4.0 RCP application would seem like a straightforward task but it actually involves a fair bit of tinkering and there are a few not so

Tagged with: , , , , , , ,
Posted in Eclipse RCP

Installing Squid 3.0 on Fredora 11

Install Squid in the normal fashion using yum or System -> Administration -> Add/Remove Software. Open the Squid configuration file by executing the following command: sudo gedit /etc/squid/squid.conf Change the value of the error_directory property so that it points to

Tagged with: , , , ,
Posted in Fedora

Unit Testing HTTPS Clients with a Self-signed Certificate

Overview A quick and easy way to eliminate javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target without making dangerous changes to your default trust store. Steps Create a new keystore and associated

Tagged with: , , , , , , ,
Posted in Java EE Development

Scraping Sun Microsystems’ CertManager

Waiting for SCJD or SCEA results can be a bit of a pain. The lucky amongst you may get them in a couple of weeks. On the other hand, you could face a wait of up to six weeks. To

Tagged with: , , , , ,
Posted in Uncategorized