ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: global ivysettings.xml ?
Date Fri, 04 Mar 2011 14:11:30 GMT

Le 4 mars 2011 à 12:37, heapifyman a écrit :

> 
> Hello all,
> 
> coming from maven, I'm used to a global settings.xml in USER_HOME/.m2.
> 
> Can I have a similar thing for ivy2? I was trying to change the
> defaultCacheDir by putting an ivysettings.xml file into the
> USER_HOME/.ivy2 with the following content:
> 
> <ivysettings>
> 	<caches defaultCacheDir="D:\.ivy2\cache" />
> </ivysettings>
> 
> This does not seem to be working.
> Do I have to specify that setting in every project that uses ivy?

You could also define the property "ivy.cache.dir" for that. Where you set that property depends
on how you use Ivy.

Nicolas


Mime
View raw message