【发布时间】:2012-04-16 07:06:00
【问题描述】:
我在安装了 IvyDE 的 Eclipse IDE 中运行 Ivy->Resolve 时遇到问题。同时,蚂蚁目标
<target name="retrieve" unless="library.installed" description="Retrieves the libraries if needed">
<!-- Ivy configuration - http://ant.apache.org/ivy/history/trunk/ant.html -->
<ivy:settings file="ivysettings.xml"/>
<condition property="ivy.conf.name" value="java6">
<not>
<isset property="ivy.conf.name"/>
</not>
</condition>
<echo message="Ivy conf name: ${ivy.conf.name}"/>
<ivy:resolve file="ivy.xml" conf="${ivy.conf.name}" checkIfChanged="false" transitive="false" />
<ivy:retrieve conf="${ivy.conf.name}"/>
</target>
运行正常,没有任何错误。它将所有需要的 jar 下载到我的个人资料文件夹 .ivy2
如何让Eclipse使用呢?我在包资源管理器中看不到 ivy.xml[*] 节点,而构建路径配置对话框中的 ivy.xml[*] 条目存在但为空。
如何将 IvyDE 指向外部 Ivy 下载的 jar?
编辑 1
我的问题是 IvyDE 不能正常工作。它要么挂起,要么导致错误消息。但永远不能正常工作。我正在做的是试图解决问题。
所以你的描述很好,但它们适用于正常工作的常春藤。
【问题讨论】: