Creating Google App Engine Project
To create a project for google app engine application development
If no project is currently open in IntelliJ IDEA,
click Create New Project on the Welcome screen.
Otherwise, select File | New | Project.
As a result, the New Project wizard opens.
- On the first page of the wizard, in the left-hand pane, select Java.
In the right-hand part of the page, specify the SDK (JDK) to be used in your project.
Select the JDK from the list, or click New, select JDK and select the installation folder of the desired JDK.
From the Additional Libraries and Frameworks list, select the Google App Engine check box.
Note that the Web Application option will be selected automatically.
In the Google App Engine SDK field, select the SDK you want to use. If the list is empty click Download link to download the latest Google App Engine SDK. If the field doesn't contain the SDK that you want, click and select the installation folder of the required Google App Engine SDK in the dialog that opens.
- Click Next.
- On the next page of the wizard, specify the name and location settings.
For more information, see Project Name and Location or Module Name and Location.
IntelliJ IDEA creates a directory structure, which you can explore in the Project tool window. Depending on the selected persistence type, IntelliJ IDEA will:
persistence.xmlfor JPA, or
- Take the required libraries from the App Engine SDK.
Later, you can view the persistence settings, and change them if necessary, on the Google App Engine Facet Page. If no persistence is selected, the enhancement step is omitted in the build file.
Open the file
appengine-web.xmllocated in the
WEB-INFdirectory. In the
<application>tag, enter the identifier that you have already defined in the Create application page of the Google App Engine. The application identifier should meet certain requirements: only lower-case letters, digits, and "-" characters are allowed; the application id should not begin with "-".
You can start developing your Google App Engine application.