$GWT_HOME not visible inside IDEA on Mac OS 10.6
This is driving me nuts: I set up a Grails project and installed the grails GWT plugin but IDEA doesn't see $GWT_HOME. When I set up the project on the command line, everything works fine.
Any idea how to solve the problem?
Thanks a lot...
Peter
Grails 1.3.6
Grails GWT Plugin 0.52
gwt-2.1.1
Please sign in to leave a comment.
I have created Grails project with GWT plugin. All GWT related scripts (e.g. 'create-gwt-event', 'compile-gwt-modules') works fine. Enviroment variable 'GWT_HOME' passes to grails-script successfully. What does mean 'IDEA doesn't see $GWT_HOME'?
I am using GWT within a Grails project and when I try the Grails command run-app I get the following error:
Environment set to development
ERROR: null is not a valid GWT installation.
Thanks a lot for your support,
Peter
May be you disabled "Include parent environment variables" options in Run Configurations. Make ensure that "Include parent environment variables" is enabled.


Hi Sergey
your hint led me to the following solution:
The "include environment parameters" option worked only after I created the file ~/.MacOSX/environment.plist and edited it so that it looks like this:
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GWT_HOME</key>
<string>/usr/share/gwt</string>
</dict>
</plist>
In this way the environment variable GWT_HOME is passed to any application that is started from the finder.
Thanks for you ongoing support
Peter