Sunday, August 3, 2014

Consuming/Resolving p2 artifacts without p2

Nearly every build tool these day has some ways to create p2 repositories that can be consumed by eclipse. But I never found ways to consume p2 artifacts in non-eclipse projects, until yesterday I stumbled across the ivy updatesite resolver.

They implemented it in a simple manner, without the complex p2 stuff involved, parse the repository descriptor files and then resolve the artifacts. It is still not perfect, for e.g. I could not read the RAP repository IVY-1481, but it looks very promising. I guess this is not to hard to integrate in gradle to materialize p2 artifacts in a build.