如何建立从。产品与詹金斯蚂蚁Eclipse RCP应用程序 [英] how to build eclipse rcp application from .product with ant on jenkins

查看:139
本文介绍了如何建立从。产品与詹金斯蚂蚁Eclipse RCP应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一个Eclipse RCP应用程序。

I'd like to build an Eclipse RCP application.

我有一个产品配置文件和目标平台,有很多第三方插件。从Eclipse IDE的出口完美的作品。但是,这是很难的专业。所以,我想获得它的工作詹金斯也。构建从服务器获取SVN文件,不具有Eclipse和应该做的这一切headlessly无妨。

I have a Product configuration file and a target platform with lots of third party plugins. The export from the Eclipse IDE works flawlessly. But that is hardly professional. So I'd like to get it to work on Jenkins, too. The build server gets the files from SVN, doesn't have Eclipse and should do it all headlessly anyway.

我不想使用Maven /第谷或巴克明斯特。我希望做一个简单越好。因为我知道一点关于蚂蚁了,我想用蚂蚁做这一切。我有,我可以建立我的所有插件的Ant脚本。所有我现在需要的,就是他们都组装成一个发射器(.EXE)和这样的产品。像导出向导一样。但是,如果没有Eclipse IDE中。

I do not want to use Maven/Tycho or Buckminster. I'd like to do it a simple as possible. Since I know a bit about ant already, I would like to do it all with ant. I have an ant script with which I can build all my plugins. All I need right now, is to assemble them all into the product with a launcher (.exe) and such. Like the export wizard does. But without the Eclipse IDE.

我一直在谷歌上搜索过我的手指,但不知何故,它看起来好像我是一个谁愿意做构建Eclipse RCP的产品与蚂蚁唯一的一个。我只觉得是从2005年或去这么多的深入,一个新手(像我)教程没有闯过第一款。

I've been googling my fingers off, but somehow it appears as if I'm the only one who wants do build an Eclipse RCP product with ant. I only find tutorials that are from 2005 or that go so much in depth, a newbie (like me) doesn't get past the first paragraph.

请帮帮忙!

推荐答案

我一直沿着这条道路,你都在。相信我,你将最终获得令人难以置信的更复杂的使用Ant的东西比你,如果你只是用第谷/ Maven的。你说你希望它简单越好,恕我直言,第谷就是它了。

I've been down this road you are on. Trust me... you will end up with something incredibly more complicated with Ant than you would if you just use Tycho/Maven. You said you want it simple as possible, and IMHO, Tycho is it.

有例子在这里...... http://wiki.eclipse.org/Tycho/Packaging_Types

There are examples here... http://wiki.eclipse.org/Tycho/Packaging_Types

我也建议从混帐签出第谷走一走,看一看第谷 - 演示位置。他们有很好的例子也有。

I also suggest to check out tycho from git and look around the tycho-demo location. They have great examples there too.

http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-demo/itp04-rcp

另外,詹金斯是超级容易对付的Maven构建的时候。

Plus, Jenkins is super easy when dealing with Maven builds.

第谷的当前版本是0.13.0。这是pretty在它生命的早期,并正在积极发展,所以每天都在变得更好。

The current version of Tycho is 0.13.0. It's pretty early in it's life, and under active development, so it's getting better every day.

这篇关于如何建立从。产品与詹金斯蚂蚁Eclipse RCP应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆