Minimalist Build of Equinox Http From Source
Building eclipse parts can be pretty hard. There are some great tutorials out there for building the entire platform project Platform Build, Eclipse Target Platform - Tutorial.
However, that’s a huge ~25GB investment. Also, few examples demonstrate building just a subset of the projects in the platform.
As a new committer on only one of the multitude of eclipse platform projects I wanted an easier and simpler build path. This is particularly important when trying to recruite help from developers who might be interested in lending a hand but only in a very specific subset of eclipse platform.
In this case, I’m interested in building equinox http.servlet
(and dependencies).
I need:
- the osgi core framework (
rt.equinox.framework/bundles/org.eclipse.osgi
) - the osgi service bundle (
rt.equinox.framework/bundles/org.eclipse.osgi.services
) - the http.servlet bundle (
rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet
)
I also want to make sure I can consume these from a maven repo, so I need to ensure the parent dependencies are setup correctly (i.e. make sure the parent poms are published as well).
Using the following commands I can do just that!
That’s a mouthfull but once this is done just doing git updates and then rebuilding the individual bundles as needed is all you need to do.