Question

Since Eclipse CBI (Common Build Infrastructure)is coming into picture, we would migrate like to migrate to it from existing PDE Build system (based on ANT).

So how can we do the migration easily?

Do we need to create POM.xml file for each plugin, can it be generated automatically?

Could we still use the existing ANT scripts?

How the target platform would be created, is it just Maven repository?

Was it helpful?

Solution

There are maven plugins in existence that will auto-generate POM files from eclipse plugins. There are other example questions about that, How to create the pom.xml for a java project with Eclipse?

You can still use some existing ant scripts if you have to, using the maven-antrun-plugin artifact or the tycho-eclipserun-plugin artifact.

The target platform is created by filling in the repositories section with repos that have a layout of p2 (so they can be consumed by tycho).

Tycho is a good place to get started.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top