I created a project and Grails module ( NEW_MODULE ) in Intellij IDEA 12.0.2.
I then linked an existing Grails module ( LIB_MODULE ) to the new project.
In the Module Settings -> Modules -> Dependencies of NEW_MODULE I added the LIB_MODULE module.
In the code browser everything resolves fine.
But when I run the "grails compile" statement I get errors of "unable to resolve xxx.xxx.xxx.
It looks like it resolves LIB_MODULE/src/java classes fine, but cannot find LIB_MODULE/src/groovy.
I'm not sure that it's passing the imported module's classpath when calling "grails" targets.
I'm still trying to get used to dependency/buildpath link of modules in Intellij when I try and recreate what I do in Eclipse with projects.
Am I doing this incorrectly or can this not be done?
Thanks for you help.