Author: Chris Aniszczyk

Execution Environments (EE) are a neat concept within OSGi, however, things can become complicated when developing against multiple EEs. For a real world example of what I mean, this weeks integration build in Eclipse was delayed due to an EE issue. A new bundle (org.eclipse.equinox.p2.repository) was added to the Eclipse SDK that declared an execution environment of J2SE-1.4 but used methods from J2SE-1.5 environment. This...

Read More

I'm excited to have the opportunity to speak at the upcoming Eclipse Forum India conference next week. I will be giving three talks: What's new in Eclipse Plug-in Development OSGi for Eclipse Developers Single Sourcing: Extend your RCP Application to the Web with RAP It looks like Eclipse will be well represented at the conference, there will be talks on EclipseLink, Modeling, SWTBot, RCP and RAP. Personally, I'm thrilled...

Read More

It's great to see a new milestone of e4 released (new and noteworthy)! The major new and noteworthy item in my opinion is that XWT was included for the first time in e4: What is XWT? XWT is a declarative widget framework that allows you to specify UI components in a declarative fashion. SWT code is generated automatically from an XML-based UI declaration. It's kind of nice...

Read More

Last Friday, March 27th, Jeff McAffer and I attended the OSGi Tool Summit graciously hosted by LinkedIn: There were many topics discussed, here are the big ones in my opinion: Repositories Now that we have all these bundles everywhere, we have to store them somewhere, right? There is an OSGi RFP 122 out for an OSGi Bundle Repository (OBR) that aims to solve some of this problem. If...

Read More

The OSGi specification defines a log service (Section 101.1) in the Service Compendium. Like most logging facilities, the log service allows you to specify a message, exception, log level and service reference to be logged. The log service can be acquired using typical OSGi service acquisition mechanisms like a ServiceTracker (see snippet below). However, I highly recommend that you look at using Declarative Services (see...

Read More

The EclipseSource team is enjoying its time at EclipseCon 2009. Here's a reminder of what our team is talking about today. Ralf Sternberg and Rudiger Herrmann gave a tutorial about "Single Sourcing RCP and RAP." Jeff McAffer and Ian Bull are giving a tutorial on "Understanding and extending p2 for fun and profit." Come learn about p2! I'm really excited about Scott Lewis giving a tutorial on "Distributed...

Read More

I want to remind the Eclipse community that Google Summer of Code 2009 (GSOC) recruiting is in full swing now. I can't reiterate how awesome this program is for getting contributors and contributions to your project. As an example, one of my favorite recent contributions is a toString() generator that appeared in Eclipse 3.5 M6: The code for this feature originated with Eclipse's participation in GSOC 2008...

Read More

I just got back from vacation and was pleased to see Eclipse 3.5 M6 was released (new and noteworthy). M6 is always an interesting milestone for Eclipse because it's really close to EclipseCon, signifies API freeze and the march towards stabilization for the Galileo release. Here are some of my favorite noteworthy items from Eclipse 3.5 M6: From Equinox, I'm thrilled to see the implementation of...

Read More

Were you ever curious how to get those pretty colored labels in your JFace viewers you see all over Eclipse? For example, the blue counter label in the search results view: Well, I'll tell you how! Let's start with famous RCP Mail example: Let's look at the current label provider in the RCP Mail example: [code lang="java"] class ViewLabelProvider extends LabelProvider { public String getText(Object...

Read More