grails.sh icon indicating copy to clipboard operation
grails.sh copied to clipboard

GRAILS_HOME does not work when using more than one Grails version

Open robertoschwald opened this issue 10 years ago • 0 comments

Setting GRAILS_HOME as the fallback env var does not work if using more than one Grails versions. Especially Spring-Loaded Classes for Grails 3 can lead to all sort of Problems (e.g. in Intellij IDEA) if GRAILS_HOME is set to a Grails 2.x version.

I provide a PR which supports an alternate env. var "${TOOL}_DEFAULT_HOME" which does not interfere with the problem and is used if ${TOOL}_HOME is not set.

robertoschwald avatar Dec 30 '15 09:12 robertoschwald