On 22/03/2011 00:55, Jeff Adamson wrote:
In maven one can set .m2/settings.xml with an element
"<localRepository>${user.home}/Library/Caches/Maven2/repo</localRepository>"
How can one do something similar with ivy?
I took a guess at adding an ~/.ivy2/ivysettings.xml file, but it didn't seam
to be read (unless I also modify every build script to explicitly read in
that file).
Is there a way to implicitly change the default ivy cache directory without
modifying build scripts at all?

I think you can pass a property to ANT to affect this: ivy.cache.dir

Kind regards,

Tom

Reply via email to