I've installed the Acegi plugin in my Grails project (see http://grails.codehaus.org/AcegiSecurity+Plugin), and generated associated targets, all this outside of IDEA.
Back to IDEA, I can see that it is having difficulties finding references that are located in the plugin itself. Let me make this clearer:
- There are libs installed in the plugin. They are in myapp\plugins\acegi-0.2\lib. But code inside (for example) myapp\grails-app\controllers\LoginController cannot reference these libs. I know I can change the project settings - but it sucks (pardon my english).
- Similarly, there is an AuthenticateService service located in myapp\plugins\acegi-0.2\grails-app\services, which is referenced in myapp\grails-app\controllers\LoginController but cannot be found by IDEA. Don't have a workaround for this.
Of course, if I open a command prompt and run grails run-app, it all works fine. The problems I have are definitely related to the JetGroovy IDEA plugin.