3
我一直在玩基本的Ivy Tutorial,並逐漸擴展到一個狀態,我現在有一個ivy.xml來定義我的依賴關係,並且與apache螞蟻裏面的ivy jar安裝。apache ivy - ivysettings.xml中有什麼
我還設法定義了一個共享庫來阻止常春藤彈出到外部存儲庫。這是通過在解決任務中定義屬性完成的。
<target name="resolve" depends="" description="Resolve the dependencies">
<property name="ivy.shared.default.root" value="C:/ivy/localLibsStore" />
<property name="ivy.shared.default.artifact.pattern" value="[module]/[revision]/[type]s/[artifact]-[revision].[ext]" />
<ivy:retrieve/>
</target>
但是我已經嘗試將這些屬性移動到單獨的ivysettings.xml文件中,但沒有運氣。
所以問題是我應該在我的ivysettings.xml中有什麼?下面
我的最新嘗試給出了錯誤:
unknown resolver null
no resolver found for ...
<ivysettings>
<property name="ivy.shared.default.root" value="C:/ivy/localLibsStore" />
<property name="ivy.shared.default.artifact.pattern" value="[module]/[revision]/[type]s/[artifact]-[revision].[ext]" />
<resolvers>
<filesystem name="shared">
<ivy pattern="${ivy.shared.default.root}/${ivy.shared.default.ivy.pattern}" />
<artifact pattern="${ivy.shared.default.root}/${ivy.shared.default.artifact.pattern}" />
</filesystem>
</resolvers>
</ivysettings>