开发者

Grails: how can I customize the location of the .slcache directory? [Can't do it, Bug raised]

Currently the .slcache directory lives at %USER_HOME%\.grails\.slcache and has around 12M of data in it. I work in a restricted corporate environment and this causes me problems with my windows profile allocations (which sadly, I am unable to change).

I have managed to move the ivy-cache and other contents of the .grails dir by adding the following in my BuildConfig.groovy:

grails.work.dir="c:/.grails"
grails.开发者_C百科project.dependency.resolution = {
    cacheDir "c:/grails-ivy-cache"
}

But I can't find out how to customize the location of .slcache

Using Grails 2.0.0 M2


The slcache is used by the reloading agent to cache reload information. So it is definitely necessary. Deleting it might result in strange reloading errors. Currently there is no open to customize it, but please feel free to raise a JIRA at http://jira.grails.org/browse/GRAILS

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜