Apache Ivy:本地ivy缓存和本地存储库之间的区别
默认情况下,ivy 在您的
目录下安装“本地缓存”。但是,如果我决定在同一台计算机上“托管”本地存储库,例如在
上,那么这两个概念有何不同?缓存与工件存储库不是同一件事吗?
By default Ivy installs a "local cache" under your <HOME>/.ivy2
directory. But if I decide to "host" a local repository on the same machine, say, at <HOME>/workbench/ivy/
, then how are these two concepts different? Isn't a cache the same thing as an artifact repository?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
概念页面描述了 ivy 缓存的功能及其包含的文件类型:
http://ant.apache.org/ivy/history/latest-milestone/concept.html
简而言之,ivy 缓存旨在提高性能,并不意味着是文件的最终副本构建取决于。永远不会发布到缓存。这就是 ivy 存储库的用途。
附加说明:
The concepts page describes the function of the ivy cache and the kinds of file it contains:
http://ant.apache.org/ivy/history/latest-milestone/concept.html
In a nutshell, the ivy cache is designed to improve performance, it's not meant to be the definitive copy of the files a build depends on. One never publishes to the cache. This is what an ivy repository is used for.
Additonal notes: