As Grails adoption grows within an organization, it is likely that over time different projects will end up running on different Grails versions. Consequently, developers will need to ensure they have corresponding runtime enabled within their environment. That is exactly what GVM Tool is meant to do. Unfortunately for many corporate users there is a little pesky obstacle to its use: Windows.

When it comes to this operating system, GVM is (understandably) supported via Cygwin only. The problem is that Grails shell is still little rough around the edges within the emulator. Also, Cygwin itself may be a forbidden fruit due to internal corporate policies.

Under these conditions, developers basically have to resort to manual modifications of system variables like GRAILS_HOME and PATH. Which is a mundane and annoying task. To make our lives easier, we have put together Gravy – a simple batch script that manages local (manually installed) Grails versions within the Windows native shell. If you are in the same shoes, give it a spin.

5 Responses to “Gravy: Grails Version Manager for Windows OS”

Fantastic work! Just as a side note, do consider using the gvm API if you would like to enhance gravy even further. It’s free to use and could allow you to add lots of neat features. Keep up the great work!

Hi. This seems like a really useful tool. However, I could not get it to work. When I type gravy in Windows command line, it says “The syntax of the command is incorrect.” followed by “D:\Gravy>”. Please can you tell me where I may have gone wrong. Thank you.