I have been playing with the basic Ivy Tutorial and have gradually extended to a state where I now have a seprate ivy.xml defining my dependancies and with the ivy jar inside the apache ant installation.
I have also managed to define a shared repository to stop ivy popping off to an external repository. This has been done by defining properties in the resolve task.
<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>
However I have tried moving these properties into a separate ivysettings.xml file with no luck.
So the question is what should I have in my ivysettings.xml ?
My latest attempt below gives the error:
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>