gvmtool/gvm — pull request #78 by sjurgemeyer (2012-11-27 04:34:50+00:00)
Title: Auto detect version of grails when within a grails app

This pull request adds scripts for grails that can auto detect the version of an application based on application.properties. The feature is off by default, but can be turned no by adding GVM_GRAILS_AUTODETECT=1 in .bashrc/.zshrc etc.

When the option is turned on 'grails' and 'grails-debug' will first check application.properties for the proper version, then call 'gvm use' for that version before calling grails.

There is also a grails-nodetect script included to just use whatever version of grails is current for GVM even if you're in an application. This will be useful for things like 'grails upgrade'.

Let me know if there are any items that are unclear or need to be cleaned up. I hope this is helpful.