문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top