I'm having a hard time importing existing Grails projects to Intellij Idea. And it seems this had been discussed for a number of occasions already in this list and elsewhere. I've noticed that in the
grails.org example sources, the idea descriptor files is checked in (.ipr, .iml, etc). So I'm assuming that, from the development team's stand point, this is the way to go?
As an alternative, could an IDE descriptor files generator script be created so that the version control tree is not laced with these IDE specific files? I don't see Grails currently having the luxury of having an Ant or Maven project import currently supported by the top IDEs. But maybe a Grails plugin could be created which mimics how Maven Eclipse Plugin and Maven Idea Plugin do for Maven projects. Something like:
grails generate-idea-project
grails generate-eclipse-project
Also, this would mean the generated eclipse descriptor files be considered for removal from the create-app script. Imho that's a cleaner separation of work. Let me know your thoughts. I'll try my best to start something up just in case ;)
Regards,
Michael Mallete
http://noisyheads.com