Quantcast

changing the location of ~/.grails/ivy-cache directory..

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

changing the location of ~/.grails/ivy-cache directory..

Vineel

grails seems to store all the libraries under ~/.grails/ivy-cache directory.  is there any way we can configure it to point to a different directory?  

I tried -Dgrails.work.dir=/tmp/grails-home, it looks like the ivy cache is still getting stored under ~/.grails/ivy-cache

Thanks
-Vineel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: changing the location of ~/.grails/ivy-cache directory..

jpearlin
grails.dependency.cache.dir is the property you are looking for.  I set it in my ~/.grails/settings.groovy file to use a different one per application:

grails.dependency.cache.dir = "${userHome}/.grails/ivy-cache/${appName}"

--Jonathan

On Sat, Jun 16, 2012 at 2:11 PM, Vineel <[hidden email]> wrote:

grails seems to store all the libraries under ~/.grails/ivy-cache directory.
is there any way we can configure it to point to a different directory?

I tried -Dgrails.work.dir=/tmp/grails-home, it looks like the ivy cache is
still getting stored under ~/.grails/ivy-cache

Thanks
-Vineel

--
View this message in context: http://grails.1312388.n4.nabble.com/changing-the-location-of-grails-ivy-cache-directory-tp4630263.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Loading...