你在哪里放ivysettings.xml? [英] where do you put ivysettings.xml?

查看:1424
本文介绍了你在哪里放ivysettings.xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想学习如何使用常春藤和想设置我已经下载了.jar文件的本地存储库。

I'm trying to learn how to use ivy and would like to setup a local repository of the .jar files I've downloaded.

你在哪里把 ivysettings.xml 文件?它是否在Ant库目录中去?

Where do you put the ivysettings.xml file? Does it go in the ant library directory?

推荐答案

如果你让我澄清一下,在 ivysettings.xml 是你的开发环境配置作为一个整体。它的的相关资源库项目本身。一般来说, ivysettings.xml 应该坐在一起主的build.xml ,这样,当你把

If you'll allow me to clarify, the ivysettings.xml is the configuration of your development environment as a whole. It is not related to the repository items themselves. Generally speaking, ivysettings.xml should sit alongside your main build.xml, so that when you put

<ivy:settings file="ivysettings.xml"/>

的build.xml ,它只是发现它在当前目录。

in your build.xml, it just finds it in the current directory.

此文件是从描述在你的仓库中的各种模块的的ivy.xml 文件完全不同。这些坐在一起在回购公布的文物。

This file is completely distinct from the ivy.xml files that describe the various modules in your repository. These sit alongside the published artifacts in the repo.

这篇关于你在哪里放ivysettings.xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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