开发者

RCP build with maven

How to build and package RCP (Rich client Platform) using Eclipse.

Is it开发者_高级运维 possible to build as a .jar file.


I use Maven Tycho. I find it a lot easier to use than the PDE ant scripts.

The itp04 RCP example is a good project to get started.


We use Maven 3 and the sonatype-tycho plugin to build our Eclipse RCP-based application. It allows a plugin-first approach, i.e. you define the dependencies only in the plugin.xml using the editor of Eclipse. You don't have to care about dependencies in the pom.xml as these are managed by tycho.


There are detailed instructions at Apache Felix maven Bundle page on how to do this. Alternatively, There are some quickstart maven archetypes you could download based on these instructions and experiment with.


I have wrapped PDE/Build by Maven manually. You can find an example in my answer to my own question: How to set up Eclipse PDE/Build with Indigo?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜