p2 Tag

In one week, on June 26th 2013, Eclipse Kepler will ship. To prepare for the release I'm counting down the Top 10 most interesting features according to me. Number 2 on my list is close to my heart -- the Eclipse Provisioning Platform (p2) -- and the new features it supports. The Eclipse Provisioning Platform (p2) has been responsible for installing and managing Eclipse plug-ins for over...

Read More

For most people, p2 is simply the Install  Software Dialog  in Eclipse. While this is certainly true (or at least the Install Software Dialog is built with p2), p2 is much more than this. The Eclipse Provisioning Platform (p2) is a general purpose platform for provisioning everything and nothing in particular. Most of the out-of-the-box p2 tools are related to provisioning OSGi bundles (or Eclipse plug-ins, if you...

Read More

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 closely at the log, and you will see: [raw] javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397) at...

Read More

There are only two hard things in Computer Science: cache invalidation, naming things and off by one errors. (reference) I appears that P2 (em, p2) suffers from both of these things, but today I'm going to focus on the first one, caching problems.  No matter what we do regarding caching repositories, it seems that we get it wrong.  Some people argue that we don't cache aggressively enough...

Read More

Eclipse has provided high-quality tools to millions of developers for over 10 years, for free.  For the 7th consecutive year, Eclipse will ship a simultaneous release.  A simultaneous release is a single, coordinated, release containing dozens of related Eclipse technologies.  And for the 5th time, I'm assembling a Top 10 List of Eclipse features that I'm excited about.   I've done this for: Eclipse Europa (2007) Eclipse Galileo (2009) Eclipse...

Read More

On Tuesday, Pascal and I presented "p2, your savior or your achilles heel? Everything an Eclipse team needs to know about p2" where we talked about the 10 most common pitfalls developers face when using p2. More importantly, we talked about how you can avoid them. For those of you who attended the talk, thank-you.  I hope you learned something.  For those of you who...

Read More

My highlights on the EclipseCon today were the EMF GWT presentation by Ed Merks, the p2 talk by Ian Bull and Pascal Rapicault and the keynote on Watson by David Gondek: Ed Merks showed how to use EMF with the Google Web Toolkit. In about a click or two, he had an EMF-based GWT application (or an GWT-based EMF application) up and running. The famous library...

Read More

Over the last few days I've read many blogs from folks who are speaking at EclipseCon next week in Santa Clara. Everytime I find it really interesting to hear about the ideas behind the talks. So, with this post I want to show you what you can expect from the EclipseSource folks at EclipseCon. First we'll have a chance to meet every morning. EclipseSource is the...

Read More