Our project files are stored in a directory parallel to the sources and I cannot find how to explain that to IntelliJ (7.0.4).
For example, I have "C:\root\projects\IntelliJ7\MyApp\MyApp.ipr" and "C:\root\MyApp\grails-app\".
The result is that running grails.bat gives this error:
\[C:\java\libs\grails-1.0.3/bin/grails.bat, create-controller, somecontroller]
Welcome to Grails 1.0.3 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: C:\java\libs\grails-1.0.3
Base Directory: C:\root\projects\IntelliJ7\MyApp
C:\root\projects\IntelliJ7\MyApp does not appear to be part of a Grails application.
The following commands are supported outside of a project:
Run 'grails help' for a complete list of available scripts.
It looks like the project location is used as the base directory. Is there any way to override that?