您在复杂的构建过程中使用什么? [英] What do you use for a complex build process?

查看:21
本文介绍了您在复杂的构建过程中使用什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试改进我们的构建过程,它目前是一个巨大的 Ant build.xml,它调用其他 ant 构建文件并执行几个 Java 类来执行更复杂的逻辑,而这些逻辑在 Ant 中是不可能/可怕的.

I am trying to revamp our build process, which is currently a gigantic Ant build.xml that calls into other ant build files and executes several Java classes to perform more complex logic that would be impossible/scary to attemp in Ant.

背景:

  • Java 和 Ant 的经验,一些 Groovy
  • Windows 平台

目标:

  • 作为命令行 cron 和 servlet 发布到的组合运行
  • 尽可能简化,最少的语言和技术之间的跳跃

我需要像 Java 这样的语言提供的更高级别的逻辑能力,并且 Ant 非常简单,我们使用过滤来覆盖不同客户端的默认属性文件.主要是我想知道除了人们使用的 Ant/Java 之外是否还有其他东西.

I need higher level logical power that a language like Java provides and Ant is pretty easy and we use the filtering to override default properties files for different clients. Mostly I'm wondering if there is something other than Ant/Java that people use.

推荐答案

除了你提到的Ant和scarry make/autotools,主流的工具有:

Except the Ant you mentioned and the scarry make/autotools, the mainstream tools are:

我使用 SCons,因为它基于 Python,资金充足且优雅.Jam 似乎是最务实的一种.我对 CMake 不太了解.Maven 可能是您的选择,因为它以 Java 为中心并且比 Ant 更高.

I use SCons, because it is python based, well-funded and elegant. Jam seems to be the most pragmatic one. I don't know too much about CMake. Maven may be the choice for you as it is Java centric and more high level than Ant.

您可以在维基百科中找到更多信息:构建工具列表

More you can find at wikipedia: List of built tools

这篇关于您在复杂的构建过程中使用什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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