如何组装一个多项目的蚂蚁构建系统 [英] How to assemble a multi-project ant build system

查看:24
本文介绍了如何组装一个多项目的蚂蚁构建系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的新工作中,他们使用 Ant,无法说服他们迁移到 Maven.我到处寻找有关如何组装多项目蚂蚁构建系统的体面示例.apache 站点不足.我正在专门寻找最佳实践以:

At my new gig, they use Ant and cannot be persuaded to move to Maven. I've looked everywhere for a decent example of how a multi-project ant build system should be assembled. The apache site falls short. I'm looking specifically for best practices to:

  • 自动构建作为项目依赖项的本地项目
  • 将项目中的工件分享给他们的家属
  • 导出项目的依赖项和生成的工件(jar)以供依赖项目继承
  • 在项目之间共享第三方依赖

我确信我可以在不使用 Ivy 的情况下完成所有这些 - 人们在 Ivy 之前做了什么?我真的不想建立公司存储库或依赖外部存储库 - 这里的工程师真的反对这样做,并将他们所有的第三方 jar 都签入 src 控件.

I'm sure I can do all this without using Ivy - what did people do before Ivy? I really don't want to have to set up a corporate repository or rely on external repositories - the engineers here are really against that and have all their third-party jars checked into src control.

谁能给我指出一个多项目 ant 构建的好的开源示例?

Can anyone point me at a good open source example of a multi-project ant build?

推荐答案

我没有太多使用 Ant 构建大量依赖项目的经验,但是 本教程 看起来它无需任何其他工具即可满足您的需求.

I don't have too much hands on experience with building large numbers of dependent projects with Ant, but this tutorial looks like it will do what you need without any additional tools.

这篇关于如何组装一个多项目的蚂蚁构建系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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