Remote provisioning with p2

A  number of people have been asking for copies of my Runtime (r)evolution talk from EclipseCon.  Unfortunately a consequence of doing a presentation zen style talks is that the raw material is not that compelling on its own.  In my case each slide has one word or picture and there are a set of demo movies.  So, I decided to start making a series of short webcasts that each cover a part of overall topic.  This is the first such webcast.

In this webcast I demonstrate the use of p2 to define, provision and manage remote Eclipse, Equinox and OSGi-based systems. In particular, we use base p2 but adapt and extend the mechanisms and create a central management server that remotely manages and synchronizes the software on clients, vehicles in this example.  There are a number of cool things happening under the covers. I talk about some of these and others will be the subject of future blog posts by me and others on the team.

6 Responses to “Remote provisioning with p2”

  1. Neville Harrison says:

    Wow. Very interesting. I’m trying to do something along these lines with OSGi but without the P2 sophistication. I want this! Now to find out where to start down the P2 track. Thanks for the demo.

  2. christian campo says:

    very cool webcast…..I like it. Just what I was looking for when we talked here in Germany.

    I look forward for the next onees coming….

  3. Eric Jain says:

    Cool! The title of this demo is a bit misleading though: p2 (as far as I know) doesn’t do remote provisioning (I wish it did). Is your remote provisioning “magic sauce” going to be open-sourced or integrated into p2, or will it be part of a commercial product?

  4. Jeff McAffer says:

    Hey Eric. Glad you liked the demo. The “remote” bit goes with the “EclipseSource” bit in the title. That is, EclipseSource has an ever evolving lineup of provisioning infrastructure and repositories of content. One example is the remote function in this demo and some of what I showed at EclipseCon. Another is the Yoxos product suite ( Most of that offering relates to provisioning of Eclipse-based tools but the basic infrastructure and other extensions are available as well. One of the things that we have found is that everyone has a different set of requirements. So most of the time people are interested in the pieces and help putting them together to solve their problem. Feel free to ping me directly for more info on the product side of things.

  5. Martin Dilger says:

    Hi Jeff,
    very cool demo! is there any sourcecode available?

    Thanks in advance


  6. Jeff McAffer says:

    Martin, thanks for the feedback. The demo in the video is a mix of open source and commercial software. The code for application and basic p2 provisioning is part of the example we are developing for the upcoming OSGi and Equinox book ( An early version of that source is available as part of the Equinox Hackathon code ( We built upon this to create a set of demos that were used at EclipseCon. Large chunks of that code will either be part of the book or be made open source in the nearish future.

    Part of the idea of the demo was to show off p2′s extensibility. For example, p2 does not include support of remote or central management but rather is focused on client-side usecases like you would see in an IDE or RCP application. However, the architecture and implementation of p2 was specifically done to allow for extensibility. So here we show extending it with various elements of EclipseSource’s enterprise level provisioning function for things like Yoxos ( That central/remote management capability is available commercially from EclipseSource. Hope that answers your question. Feel free to ping me or if you want more info.

6 responses so far

Written by . Published in Categories: Planet Eclipse