Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What determines the location of the .grails directory?

Tags:

grails

I want to change the location of the .grails directory. I have read about using working directories, but this is not what I want. For some reason my .grails directory gets put in the "Administrator" user folder instead of in my user folder. How do I correct this?

like image 633
ubiquibacon Avatar asked Jul 10 '12 15:07

ubiquibacon


1 Answers

The grailsWorkDir property controls the location. You can change the value in the BuildConfig.groovy file.

See the Grails documentation section 5.5 Customising the build:

Grails Build Properties


There is an issue with Java and the user.home property in Windows. See this SO question for more details:

Java user.home is being set to %userprofile% and not being resolved

like image 55
James Allman Avatar answered Oct 16 '22 22:10

James Allman