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?
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:
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With