Java 实现的 rpmbuild 工具的等价物?
有没有用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看一下 redline-rpm,一个提供 Ant 的纯 Java RPM 库任务:
Have a look at redline-rpm, a pure Java RPM Library that provides an Ant task:
如果你在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.