May 3rd, 2013

Eclipse Kepler Milestone 7, available for download

content-assist

Spring has certainly sprung on the west coast of Canada, and that means we are into the Eclipse Kepler endgame. Milestone 7 is the last Kepler milestone before we start rolling out release candidates — with a scheduled release on June 26th 2013.  There are a number of new and noteworthy things from the Eclipse and Equinox [...]

by 1 Comment

May 3rd, 2013

How high can you raise the bar?

You have read the books. You are a clean coder. You know your language, your tools and libraries  and you know exactly what matters: Well crafted software, steadily adding value, and of course you are part of a community of professionals. There was something about productive partnerships, too, but that was a bit hard do [...]

by Leave a Comment
May 2nd, 2013

State of the Android Gradle Build System

gardle-android

Building an Android project can be challenging at times. The Android SDK ships with a set of helpful ant scripts, but has its shortcomings. It mainly lacks a well-populated dependency infrastructure similar to what maven offers (ivy doesn’t count). Hence, the natural evolution of build process spawned the maven android plugin. The plugin allows you to infuse [...]

by 4 Comments
May 2nd, 2013

Java, Equinox and EclipseRT on the Raspberry Pi

Screen Shot 2013-05-01 at 9.25.54 PM

Earlier this week I ordered a Raspberry Pi and it arrived today. For those of you who haven’t heard of the Raspberry Pi, it’s a low cost computer that includes HDMI (1080p) output, USB, Ethernet, an ARM processor (700Mhz) and 512Mb (or 256Mb) of RAM. The entire computer is the size of a credit card [...]

by 6 Comments
Apr 25th, 2013

When an exception gets lost

6947296049_a513bdfc32_n

Recently I fell into the lost exception pitfall – when an exception thrown in a try block gets lost because another exception is thrown in the finally block. It wasn’t that I was not aware of the problem, but rather that I underestimated and therefore ignored it. This post describes an example where suppressed exceptions [...]

by 1 Comment
Apr 23rd, 2013

EMF Dos and Don´ts #7

EMF is a very powerful framework and with power comes…responsibility. You can achieve great things with a minimum of effort using EMF, but if something goes wrong, you can also spend hours trying to find out why. This blog post is part of a series on things you should do and things you should not [...]

by Leave a Comment
Apr 19th, 2013

Installing Eclipse Plug-ins from an Update Site with a self-signed certificate

Screen Shot 2013-04-18 at 4.49.25 PM

Overview This article describes how to install Eclipse plug-ins from an update site (p2 repository) that is hosted on an HTTP(s) server with a self-signed (SSL) certificate. The Problem If you try and connect to a p2 repository on a server with a self-signed cert, you will more than likely hit the following error. Looking [...]

by 2 Comments
Apr 18th, 2013

Eclipse 4 (e4) Tutorial: Behavior Annotations

In the last part of my Eclipse 4 (e4) tutorial, I describe details about how to control the parameters injected using the annotations @Inject, @Named and @Optional. These parameters allow you to specify more precisely which object is injected and what happens if required parameters cannot be resolved. However, there are several use cases where [...]

by Leave a Comment
Apr 18th, 2013

A Fast and Minimal JSON Parser for Java

Overall performance

In the RAP project, reading and writing JSON are critical operations, since the server processes and creates JSON messages for a large number of clients at a high rate. For this reason, we need something fast for this job. When we switched to JSON, we included the org.json parser, which is reasonably small but not [...]

by 8 Comments