在命令行上构建Eclipse插件和功能 [英] Building Eclipse plugins and features on the command line

查看:139
本文介绍了在命令行上构建Eclipse插件和功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一堆Eclipse插件和功能,我想建立一个夜间(无头)构建的一部分。我已经设法使用复杂的设置,包括手动指定Eclipse插件jar的路径,复制customTargets.xml等。



真的没有更简单的解决方案吗?没有办法只是指出我的Update Site的site.xml并说出build;即相当于在更新站点项目中点击Build All?

解决方案

鉴于所有的答案问题都是3-5岁,我认为更新对其他人有用。



对于那些想添加Eclipse插件的建筑物CI进程,我建议他们查看 Eclipse Tycho项目。这实际上是一个Maven插件,可以让您在Maven项目中包装eclipse项目。我们使用Atlassian Bamboo构建我们的Eclipse插件。这也允许我们使用Maven jarsigner插件来签名我们的插件文件。


I have a bunch of Eclipse plugins and features, which I would like to build as part of a nightly (headless) build. I've managed to do this using a complicated setup involving manually specifying paths to Eclipse plugin jars, copying customTargets.xml, etc.

Is there really no simpler solution? Isn't there a way to just point out my Update Site's site.xml and say "build"; i.e. the equivalent of clicking "Build All" in the Update Site project?

解决方案

Given that all the answers to this question are all 3-5 years old, I figure an update would be useful to others.

For those who want to add the building of Eclipse plugins to the CI process, I recommend they check out the Eclipse Tycho project. This is essentially a Maven plugin that allows you you to wrap eclipse projects within Maven project. With this we use Atlassian Bamboo to build our Eclipse plugin. This also allows us to use the Maven jarsigner plugin to sign our plugin files.

这篇关于在命令行上构建Eclipse插件和功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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