ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Widmer <>
Subject Re: Changing ivy2 cache with minimal effort.
Date Tue, 22 Mar 2011 15:44:31 GMT
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,


View raw message