[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ivy-user
Subject:    Re: Changing ivy2 cache with minimal effort.
From:       Tom Widmer <tom.widmer () googlemail ! com>
Date:       2011-03-22 15:44:31
Message-ID: 4D88C3DF.7000507 () googlemail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic