I am using grails 2.4.0 for my recent grails application. Now I have cloned a grails-app which is developed in grails 2.0.4. My grails path is pointing to 2.4.0, so that I just upgraded the 2.0.4 application into 2.4.0.
Now some methods and classes are found deprecated, and some codes are found damaged.
$ sudo add-apt-repository ppa:groovy-dev/grails
Grails is an advanced and innovative open source web application platform that
More info: https://launchpad.net/~groovy-dev/+archive/ubuntu/grails
I'm using Ubuntu 14.04. Now I installed Grails via the gvm tool. I also tested it and created a demo app via the comandline and all works fine.
But the big problem is, IntelliJ can't find the Grails lib. The home variables are set.
I had Groovy installed via apt so IntelliJ could find it. But via the gvm not. What's wrong there?