Grails Installation
To install Grails follow steps:
1) Download and install JDK from http://java.sun.com/javase/downloads. Make sure that you use following version
| Java SE Development Kit (JDK) |
JDK 6 Update X
|
Note: You don’t need Bundles packages. Also make sure that you download Windows x64 version of JDK, like on screenshot bellow:

Let’s assume that you download and install JDK to following default location: C:\Program Files\Java\jdk1.6.0_16
2) Download latest stable Grails Binary ZIP Release from http://www.grails.org/Download, for example: grails-bin-1.1.1.zip. We not going to install Grails from sources (build it) due to the fact that Grails support “grails update” command, which can update your Grails version to latest one.
3) Extract Grails archive to the following folder: C:\Grails
4) Create JAVA_HOME environment variable that points to the path where you have installed JDK and create a GRAILS_HOME environment variable that points to the C:\Grails folder:
Note, make sure you enter your system path to JDK and JDK version that you install before.
5) Append %GRAILS_HOME%\bin to the PATH variable:

6) Check that Grails installed successfully - just type “Grails” in command prompt and check that you get a help message like:

OK, installation of Grails finishes here, let’s move to the next task…
EvejobGoG and EvejobGoGG projects configuration
So let’s start to create EvejobGoG project that is build on Grails and EvejobGoGG also build on Grails but specially adjusted to be hosted by Google App Engine.
First Start IntelliJ IDEA, open “Create New Project”, select “Grails Application” and enter project files location as “C:\evejob\EvejobGoG”:

Press Next and on Grails SDK window, press “New” to add new one and in “Select Path” window select “C:\Grails” folder (where you install Grails before):

You will get something like this (your version of Grails can be different):

Press “Next” and on next window (Select the desired technologies) leave all options unselected. After you press “Finish” you will get new Grails project opened in IDEA (if during this phrase IDEA will ask you about some updates in Grails Tool Window, press “y” to do so):

Now you can repeat same steps to create EvejobGoGG project that will use Google App Engine.
But first let’s install Google App Engine SDK for Java.
Go to the http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Java and download Zip file that contains SDK (usually file have name like “appengine-java-sdk-1.2.6.zip”). Than create folder C:\Google\google_appengine_java_sdk and unzip archive content to this folder. That’s it – Google App Engine Java SDK installed.
Let’s setup environment variable which is used by Grails plugin to locate App Engine Java SDK – APPENGINE_HOME (in our system we install it to C:\Google\google_appengine_java_sdk folder):

Let’s reload IDEA so environment changes takes effect (we will use APPENGINE_HOME variable in a second).
Now let’s continue with IDEA and setup EvejobGoGG project same way like we create and setup EvejobGoG (all step exactly same like above).
IntelliJ Idea provide great support of Grails development build-in. For example it is very simple to install Grails Plug-ins directly from IDE (make sure that you select EvejobGoGG project in IDEA window):

Ones you open Grails plugins window, probably you will need to press “Reload Grails Plugin” button, to get a full list of available plugins:

Type “app” in search box and select “app-engine” plugin (”Grails AppEngine plugin”). Check check box “Enable” and press “Apply Changes”. Than select latest release version of the plugin, for example:

OK, let’s back to plugin installation – press “OK” on plugin installation window and in Grails window you will probably get question “Do you want to use JPA or JDO for persistence”. Let’s for now just answer “jpa” and finish plugin installation.
Finished… Ah, ups… Let’s just check that project structure is OK – go to “File / Project Structure” window:

Sometimes (looks like due to some bug in IDEA currently???) you will not get Project SDK configured:

If you in this situation (hopefully not, but just in case), press “New” button, select “JSDK” in drop down and browse to your JDK path:

After, press “Apply” and you will add JDK to EvejobGoGG project.
Do the same check (and probably fix) for EvejobGoG project.