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

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

问题描述

在我的新演出中,他们使用Ant,不能被说服移到Maven。
我已经看到无处不在的一个体面的例子,如何组合多项目蚂蚁构建系统。 apache网站不足。我正在寻找最佳做法:




  • 自动构建项目依赖关系的本地项目


  • 将项目的依赖关系和生成的工件(jar)导出为依赖项目继承

  • 共享第三个项目之间的相关依赖关系



我相信我可以在不使用常春藤的情况下完成所有操作 - 人们在常春藤之前做了什么?我真的不想要设立一个企业版本库或依赖外部存储库 - 这里的工程师真的反对这一点,并将所有的第三方jar都检入src控件。任何人都可以指出一个多项目蚂蚁构建的良好的开源示例吗?



解决方案

我没有太多的经验来构建大量的依赖项目与Ant,但本教程看起来像在没有任何其他工具的情况下将会执行所需的操作。


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:

  • Automatically build local projects that are dependencies of a project
  • Share artifacts from project to their dependents
  • Export a project's dependencies and generated artifacts (jars) to be inherited by dependent projects
  • Share third-party dependencies between projects

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.

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

解决方案

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天全站免登陆