Creating App Engine Apps with Cloud Tools for Eclipse

Google Cloud Tools for Eclipse provides wizards that create new App Engine applications inside Eclipse.

Terminology

Both Eclipse and Google Cloud Platform use the term project. An Eclipse Project, including an Eclipse App Engine Project, comprises the code on your local development workstation. It has facets and is created inside Eclipse. It lives on your local workstation.

Google Cloud Platform projects contain your cloud resources, including your App Engine application. A Cloud Platform Project, including an App Engine application, is identified by a Cloud Platform project ID. It lives in the cloud.

Create a new Eclipse App Engine Standard project

The wizard flow generates a native Eclipse project, with a simple servlet, that can be run and deployed from the IDE. You can choose the native Eclipse builder or a Maven project that can be built without Eclipse at the command line or in any other tool that supports Maven.

  1. On the toolbar click the Google Cloud Platform icon.

  2. Select Create New Project > Google App Engine Standard Java Project

  3. Type a name for the project and (optionally) a Java package:

  4. To create a Maven-based App Engine project, check "Create as Maven Project" and enter a Maven group ID and artifact ID.

  5. Select the libraries (App Engine API, App Engine Endpoints, and Objectify) to include in the project.

  6. Click Finish.

Eclipse creates a project which you can edit in the usual way. For example, try editing the HelloAppEngine.java file inside the src/main/java directory so that it generates HTML instead of plain text.

What's next

Send feedback about...

Cloud Tools for Eclipse