Building Eclipse Plug-ins and RCP Applications with Tycho
Tycho is a Maven extension for building Eclipse artifacts: Eclipse plug-ins/OSGi bundles, features, products/RCP applications, and p2 repositories.
In this hands-on tutorial, we will create these artifacts one by one in Eclipse, and set up and automated Tycho build for them. We'll start with an Eclipse plug-in (including a JUnit test for regression testing) and go all the way to a ready-to-use distribution archive of a simple RCP application. You will learn how Tycho uses the well-known Eclipse PDE metadata files, like MANIFEST.MF, feature.xml, build.properties, product files, and category.xml for a fully automated, headless build.
The tutorial is targeted at everyone involved in the development lifecycle: from the release engineer who is running the production build, to developers who are interested in a better understanding of their headless Tycho build. In fact, Maven and Tycho aim to bring these people closer together, by making it easy for every developer to run the automated build.
Attendees need to bring a laptop with a USB port. The course material including all required tools will be distributed via USB sticks during the tutorial. Basic experience of working with the Eclipse PDE is helpful, but not a prerequisite.
This is an updated version of the Tycho tutorial given at EclipseCon North America 2012 and EclipseCon Europe 2012.
Slides are available on slideshare.
Exercises and solutions are on github