How-To: Change Grails User work and cache directory under windows
The directions below will help you move the Grails user work and cache directory to a different location. Why? Sometimes your default “primary drive” may be running out of space and you need to move your workspace else where. How? Create a file called “settings.groovy” under “C:/Users/.grails” directory. Edit this file and add the following line: [sourcecode language="jscript”] grails.work.dir="D:/grailswork” [/sourcecode] Make sure that the defined folder exists.