Java 实现的 rpmbuild 工具的等价物?

发布于 2024-09-16 23:22:59 字数 217 浏览 2 评论 0原文

有没有用 Java 编写的 rpmbuild 的实现?

唉,构建服务器正在 Windows 上运行,但构建过程 对于特定的基于 Java 的应用程序,需要通过以下方式生成 rpm 以便能够将其安装在 RedHat Linux 服务器上。

构建服务器 (Hudson) 需要保留在 Windows 操作系统上,因为它也运行 msbuild 用于构建各种 C# .NET 解决方案项目。

Is there an implementation of the rpmbuild that is written in Java?

Alas, the build server is running on Windows and yet the build process
for a particular Java-based application needs to generate an rpm via
which to be able to install it on RedHat Linux servers.

The build server (Hudson) needs to stay on Windows OS as it also runs
msbuild to build various C# .NET solution projects.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

故事与诗 2024-09-23 23:22:59

看一下 redline-rpm,一个提供 Ant 的纯 Java RPM 库任务:

Redline 是一个纯 Java 库,用于操作 RPM 包管理器包。目前该项目支持读取和创建包,并包含一个可用于与构建系统集成的 Ant 任务。

Have a look at redline-rpm, a pure Java RPM Library that provides an Ant task:

Redline is a pure Java library for manipulating RPM Package Manager packages. Currently the project supports reading and creating packages and has an included Ant task useful for integration with build systems.

魔法唧唧 2024-09-23 23:22:59

如果你在linux上做一个Hudson节点怎么样? Windows Hudson 服务器将乐意将 RPM 构建外包给 Linux 节点(如果您正确标记构建或将其绑定到代理)。

或者,您可以执行相反的操作,运行 Linux Hudson 服务器,然后运行 ​​Windows 节点。有一天,我们将研究如何通过 EC2 推出 Windows 节点,然后我们将能够在构建期间启动 Windows 节点。

How about if you make a Hudson node on linux? The Windows Hudson server will cheerfully farm out the RPM build to the Linux node (if you tag the build properly or bind it to the agent).

Or, you could do the opposite and run a Linux Hudson server and then a Windows node. One day we'll work out how to roll out Windows nodes over EC2 and then we'll be able to fire up a Windows node for the duration of the build.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文