ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Clitheroe <g.clithe...@gmail.com>
Subject Re: defaultCacheDir="Dev/Null" ?
Date Fri, 17 Jun 2011 19:39:01 GMT
If you're able to use dynamic revisions and come up with a suitable
matching rule for artifacts from that repo then you could set a TTL
rule with time 0

http://ant.apache.org/ivy/history/latest-milestone/settings/caches/ttl.html

Cheers,
Geoff


On Fri, Jun 17, 2011 at 11:40 PM, Richard_Senior
<richard.senior@gmail.com> wrote:
>
> Is there a way to disable the default resolution and repository caches in ivy
> using configuration?
>
> It is possible on Unix machines to set the default cache dir to dev/null but
> this is not possible on windows machines... Also it's a bit drastic.
>
> There are several situations in which you don't want Ivy to cache things
> found in a particular resolver.
>
> Even setting useOrigin="true" does not stop entries being made in the
> default cache.
>
> Does anyone have a solution for this?
>
> All I want to do is have ivy NOT CACHE things found in a particular resolver
> and have it retrieve things from that resolver every time, rather than from
> cache.
> --
> View this message in context: http://old.nabble.com/defaultCacheDir%3D%22Dev-Null%22---tp31868223p31868223.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>

Mime
View raw message