Twitter github

Posts Tagged with “eclipse”

GeeCon 2010

I’m totally behind on the blogging but last week, I had the opportunity to talk about EclipseRT at GeeCon held in majestic Poznan, Poland.

One of the coolest things about the conference was that it was held in a movie theater. What does that mean? You get a gigantic screen to do your presentation and demos on!

From now on, I’m a huge fan of any conference or event that uses movie screens. Anyways, it was great meeting the Polish Java community, I was stopped repeatedly to discuss Eclipse and OSGi related things. It was also great to catch up with a couple Red Hatters who were at the event from the JBoss side of the world.

In the end, thank you conference organizers for a great conference and I look forward to next year.

API Usage Scan against Helios

Last year, I did a API usage scan against Galileo, well this year, I’m happy to report I have done the same against Helios M7.

How else am I going to build my naughty or nice list this year?

What type of things that an API usage scan can find? Well, let’s look at an example by looking at who references org.eclipse.core.contenttype

It looks like PDT is referencing some internal code from org.eclipse.core.contenttype when it probably shouldn’t be. Not to blame the PDT only, but there are many other Eclipse.org projects referencing internals…

I encourage Eclipse.org projects that are shipping part of the Eclipse Helios release to look at the API usage report. While there are valid reasons sometimes to access internal code, there are many times that internal code is referenced when there is a perfectly fine set of API available. On top of that, being API clean is going to be important when migrating to Eclipse e4.

e4 @ Poznan JUG

Last Tuesday, I had the opportunity to speak at the Poznan JUG.

I cobbled up a presentation and demo about Eclipse e4 with the help of Boris Bokowski and Lars Vogel…

There was a lot of interest in e4 and people said they learned something new so I’m pleased. I also had the opportunity to meet Geertjan Wielenga from the Netbeans side of the world. He gave an interesting presentation on the status of the Netbeans platform and where they are headed. Good to see that Netbeans finally cares about OSGi… we had our own module system back in the day at Eclipse and realized that it’s better to just adopt a standard than hold onto your own. Anyways, kudos to the Netbeans team exposing OSGi to their user base. Ed Burns gave an interesting talk about the history of user interfaces and ways to classify them via an ontology, fascinating stuff.

On the whole, a special thanks to Adam Dudczak and the rest of the Poznan JUG team for the invite.

b3 aggregator powers Helios

Yesterday, Henrik Lindberg had a great in depth blog post about the b3 aggregator. On top of what Henrik already mentioned about the b3 aggregator, most people don’t realize that it’s really one of the unsung heroes of the Eclipse simultaneous release (David Williams being one of the other heroes). As part of the Eclipse Helios release, the b3 aggregator combines repositories from various projects into a new aggregated p2 repository that everyone is familiar with when they open their Eclipse and point to: http://download.eclipse.org/releases/helios

It’s amazing enough that we are able to ship 40 or so disparate projects on time this year as part of the Eclipse Helios release but having the b3 aggregator helps make things easier. I highly recommend looking at the b3 aggregator if you’re interested in building targets or mirroring a complex set of repositories. If you want to dive a bit deeper on how the aggregator is used as part of the Eclipse Helios release, I’d recommend taking a look at the Helios build project and in particular, the helios.build file…

And to think… in a little over a month we will ship another successful simultaneous release at Eclipse! What other open source community out there can say the same? It’s really something to be proud of in my humble opinion.

Speaking at Poznan JUG

I’m excited to be heading back to the motherland next week.

My main focus will be GeeCon, however, I got invited to present at the local Poznan JUG with some other folks. I was initially going to talk about API evolution and management but I got roped in to talk about e4. While I’m no Boris Bokowski when it comes to e4, I’m sure I can educate and entertain people for around 30 minutes on where the the Eclipse platform is headed. So if you’re in the area and want to learn a bit more about e4, please consider attending!

I’m also thrilled to meet Dariusz Luksza in person who is currently being mentored by Matthias Sohn (SAP) and the EGit team for Google Summer of Code 2010 at Eclipse. He’s doing some great work around adding tagging support to EGit and will be focusing on the synchronize view soon along with the rest of the EGit team.

Anyways, see you in Poland next week!

SWTBot and Eclipse Forms

When it comes to user interface testing in Eclipse, I’m a big fan of SWTBot. I had some long plane rides recently and a need to add some functionality to SWTBot so I decided to see if I could tackle an outstanding feature request in SWTBot to add Eclipse Forms support. On top of that, I also had a selfish reason to learn more about the internals of SWTBot. After forking Ketan’s copy of SWTBot on GitHub, I pushed my changes which adds an SWTFormsBot class as the primary handle to drive user interface tests.

So your test code would look something like this…

public class SWTBotImageHyperlinkTest extends AbstractSWTBotFormsTestCase {
 
	@Test
	public void findImageHyperlink() throws Exception {
                FormView view = new FormView(shell);
                SWTFormsBot = new SWTFormsBot();
		SWTBotImageHyperlink link = 
                     bot.imageHyperlink("Image link with no image");
		assertNotNull(link);
		assertEquals("Image link with no image", link.getText());
	}
 
}

We’re looking to eventually integrate this into SWTBot proper, just pay attention to this bug if you’re interested.

Enjoy.

JAX 2010 – Eclipse Platform Day

I attended and had the honor to moderate Eclipse Platform Day at JAX 2010. It was another nice day in Mainz, especially along the jogging trail…

Boris Bokowski kicked off the day by talking about adopting e4. Boris spoke to a packed room! There was a lot of interest in understanding how Eclipse is evolving and what it means to reach 4.0 and how it may affect downstream folks. There’s still some confusion, but people are starting to understand why e4 was necessary and having concrete examples definitely helps.

Later in the day, Steffen Pingel discussed the new p2 discovery user interface that is shipping with the Eclipse Helios release. If you’re looking for a simplified and customizable user interface for your Eclipse-based application, I highly recommend looking at the discovery code.

Christian Campo spoke about the SWT Qt port he’s been working on for awhile. He managed to bring up a version of the Eclipse SDK that ran on top of Qt… which opened the door to easy theming and some other features that Qt offers out of the box.

In the end, I hope people enjoyed the day and learned something new.

JAX 2010 – Eclipse Modeling Day

Today I had the opportunity to attend part of Eclipse Modeling Day organized by Eike Stepper and Sven Efftinge at JAX 2010. On top of that, it was a nice day in Mainz!

Ed Merks started off the day introducing the audience to the Eclipse Modeling Framework (EMF) which is the foundation of all things modeling at Eclipse…

After Ed’s talk, I heard a modeling case study by Stéphane Barbey from Paranor AG. They managed to create a sophisticated workbench from banking software using a slew of Eclipse modeling technologies. Personally, I think the modeling community at Eclipse needs to start formalizing case studies like this as it really shows what people do with the technology in the real world. Maybe the Eclipse Foundation can help create some case studies similar to what we did with RCP for the Eclipse Modeling community?

I also attended Tom Schindl’s presentation about EMF Databinding…

I always forget about the great example that Tom put together that demonstrates the power of EMF, CDO and Databinding. After Tom’s presentation I succumbed to jetlag and went for a nap, but I’m sure Ed Merks will have a nice write up of the event. I saw him taking pictures throughout the day. On a side note, the Modeling Day was so well attended at the conference that we had to move rooms. For some reason I don’t completely understand yet, Europeans love modeling technologies. In the end, it’s exciting to see the Eclipse modeling community growing each year.

Eclipse and Profile id _SELF_ is not registered

So I’m setting up a fresh Eclipse install for 3.6 M7 test pass week this morning and found that I was unable to install anything via p2. Any p2-related action that I performed ended up with a strange “Profile id _SELF_ is not registered” error in the log followed by many profanities. So the next obvious step was to debug the problem and about half way through debugging… I realized I hit a similar problem before on Mac and it was related to a bug in The Unarchiver application. I was right… again… for some reason, The Unarchiver will append “0000664” to p2 profile data while decompressing.

This is obviously a problem and will cause failures. The workaround is to strip the “0000664” suffix from the p2 profile data or simply use another unzipping tool. So for any folks who use Eclipse and hit this on Mac, I hope you find this post and save some pain.

Naming Helios +1 – Isaac vs. Indigo

The Eclipse Planning Council is holding a run off vote to name the Eclipse Helios +1 release. The last vote held helped narrow things down between two names…

Isaac

Indigo

Rock the vote, we’re almost there.