Blogs

I was catching up with a colleague today at a coffee shop about his OSGi-based product and the topic of versioning came up (he also bribed me with free espresso shots). My colleague's company recently released the "2.0" version of their product and were ready to move to the next release (3.0). The common pattern they were using was to simply artificially synchronize all plug-in...

Read More

Ever use the OSGi console included in Eclipse (i.e., run the eclipse executable with -console)? Ever wanted to add your own console commands for your application? If so, the process is pretty easy and straightforward. The first step is to implement the CommandProvider interface. Here is a simple and fun example: [code lang="java"] package com.code9.examples.console; import org.eclipse.osgi.framework.console.CommandInterpreter; import org.eclipse.osgi.framework.console.CommandProvider; public class MyCommandProvider implements CommandProvider { public Object _iddqd(CommandInterpreter intp) { intp.println("Immortal mode enabled"); ...

Read More

I had to help someone internationalize their RCP application today and I didn't really have a straight forward simple example to point them to so I figure I'd share something here for everyone's benefit. I'll use the famous RCP mail example to get things started. The first step in internalization is making sure our strings are externalized so translators can actually do something with them....

Read More

I was helping a colleague today with a key binding issue that I think is fairly common. To illustrate the problem, let's look at what happens when you press CMD+N in the RCP mail sample: What!? New Project Wizard? That's not what I wanted! In this case, I actually wanted a 'New Message' to pop up instead of that new wizard. I don't want any of...

Read More

The Ganymede Release Train is about to arrive (or leave?) on June 25th 2008 and RAP 1.1 is on-board along with 22 other projects. The busy weeks of pre-release polishing, bug fixing and stress-testing lie behind us. Now is the time talk about what's new in this release, meet other Eclipse enthusiasts and even celebrate a little. If you want to learn more about RAP 1.1 join...

Read More