Upgrading IntelliJ from Grails 1.1 to Grails 1.1.1
grails, intellij-idea
Solution
This is how I solved it:
- Configure grails-1.1.1 in IntelliJ. From the menu bar, choose: File > New Project > Create project from scratch > Name your project and choose "Grails Application" as type > Next > Grails SDK > New > Choose the location of your Grails 1.1.1 installation.
- Configure your project to use Grails 1.1.1. Open your project. From the menu bar, choose: File > Project Structure > Project Settings > Modules > Dependencies: Remove "grails-1.1" and add "grails-1.1.1" (as a "Global Library").
Done! Your project is now configured to use Grails 1.1.1 instead of Grails 1.1.
Thanks to geofflane who helped me with step #2 with his answer.
Problem
I've recently upgraded from Grails 1.1 to Grails 1.1.1. I've updated my projects accordingly using "grails upgrade". However, IntelliJ does not seem to have picked up the upgrade so when opening my Grails project I get the following dialog: Application has Grails version 1.1.1, but current Grails version is 1.1. Upgrade application? How do I configure IntelliJ to use my Grails 1.1.1 installation rather than the older 1.1 installation?