How to override the location of Ivy's Cache?

Brett Rigby picture Brett Rigby · Aug 18, 2009 · Viewed 28.2k times · Source

I am using Ivy as part of my continuous integration build system, but I need to override the default location that Ivy's local cache area is.

Answer

skaffman picture skaffman · Aug 18, 2009

Something like this in ivysettings.xml:

<ivysettings>
    <caches defaultCacheDir="/path/to/my/cache/dir"/>
</ivysettings>

See documentation at http://ant.apache.org/ivy/history/latest-milestone/settings/caches.html