On Java, Python, Groovy, Grails, Spring, Node.js, Linux, Arduino, ARM, Embedded Devices & Web

How-To: Change Grails User work and cache directory under windows

Posted by Venkatt Guhesan on June 10, 2011

The directions below will help you move the Grails user work and cache directory to a different location.


Sometimes your default “primary drive” may be running out of space and you need to move your workspace else where.


  1. Create a file called “settings.groovy” under “C:/Users/.grails” directory.
  2. Edit this file and add the following line:"D:/grailswork"
  3. Make sure that the defined folder exists.
  4. Remove all other content, files and folders in the “.grails” folder.

Your are all set


One Response to “How-To: Change Grails User work and cache directory under windows”

  1. Jeri Levine said

    THANK YOU. I had tried setting this via an environment variable, I tried changing lines in…this is the ONLY THING that finally got IntelliJ to quit trying to write this stuff to my remote fileshare. I just shared this with the rest of my teammates as I know I’m not the only one who struggled with this.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: