如何用maven tycho构建自己的Eclipse RCP应用

在你写了一个Eclipse插件之后,也许你就会想如何把它变成一个P2的项目或者是一个Java App让大家可以安装到自己的Eclipse上,dangdangdang~~

这是你就可以利用maven-tycho插件构建你的RCP应用了。

下面是Step by step的教程:

Eclipse Tycho for building Eclipse Plug-ins, OSGi bundles and RCP applications - Tutorial

然后这个按教程敲出来的项目代码:https://github.com/JoyeLuo/tycho-example

下面简单说一下概念:

Eclipse Feature: 就是你在安装Eclipse插件时,下面显示的那个勾选框后面的名字,它里面可以包含多个Eclipse Plugin项目

Eclipse p2 update sites: 就是生成一个包含一个或者多个Eclipse Feature的可供你直接安装的P2地址

Eclipse Produce: 就是集成了你自定义插件的Eclipse,它解压缩后可以直接使用。

原文地址:https://www.cnblogs.com/hibou/p/7763927.html