IntelliJ IDEA 11.1 Web Help

10.0+

Google App Engine project in intended for productive development of web applications in the Google infrastructure. IntelliJ IDEA takes care of creating the specific directory structure, and settings.

To create a Google App Engine project, follow these steps
  1. On the main menu, choose File | New Project, or click the New Project button in the Welcome screen. Create New Project dialog box opens.
  2. Create a new project with the Java module, or add a new Java module to an existing project.
  3. On the Technologies page of the wizard, select the check box Web, and the nested check box Google App Engine.
  4. In the Google App Engine Settings pane, specify the desired SDK and type of persistence (JDO or JPA).

    gae_CreateApplication

  5. Click Finish. IntelliJ IDEA produces the specific directory structure, which you can explore in the Project tool window.
    Depending on the selected persistence type, IntelliJ IDEA will:
    • Generate persistence.xml for JPA, or jdoconfig.xml for JDO.
    • Takes the required libraries from AppEngine SDK.
    Later, you can view the persistence settings, and change them if necessary, in the Google App Engine Facet dialog box.
    If no persistence is selected, the enhancement step is omitted in the build file.
  6. Open for editing the appengine-web.xml file that resides under WEB-INF directory. 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 "-".

    gae_ApplicationName

See Also

Reference:

Web Resources: