如何使用 jenkins 上的 ant 从 .product 构建 eclipse rcp 应用程序 [英] how to build eclipse rcp application from .product with ant on jenkins

查看:28
本文介绍了如何使用 jenkins 上的 ant 从 .product 构建 eclipse rcp 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想构建一个 Eclipse RCP 应用程序.

I'd like to build an Eclipse RCP application.

我有一个产品配置文件和一个包含许多第三方插件的目标平台.从 Eclipse IDE 导出工作完美无缺.但这并不专业.所以我也想让它在 Jenkins 上工作.构建服务器从 SVN 获取文件,没有 Eclipse,无论如何应该无头地完成所有工作.

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/Tycho 或 Buckminster.我想尽可能简单.因为我已经对 ant 有所了解,所以我想用 ant 来做这一切.我有一个 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.

我一直在用谷歌搜索,但不知何故,似乎我是唯一想用 ant 构建 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,请查看 PDE 构建.

If you really want ant, check PDE build.

但是,我真的建议改用第谷.它使构建 Eclipse RCP 变得更加容易.

However, I really recommend using Tycho instead. It makes building an Eclipse RCP a lot easier.

这篇关于如何使用 jenkins 上的 ant 从 .product 构建 eclipse rcp 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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