Cloud Tools for Eclipse provides a wizard inside Eclipse to create new applications for the App Engine flexible environment.
Before you begin
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.
Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.
- Ensure you have the latest version of Cloud Tools for Eclipse.
Creating a flex application
To create an App Engine application for the flex environment:
Click the Google Cloud Platform toolbar button .
Select Create New Project > Google App Engine Flexible Java Project....
The New App Engine Flexible Project wizard displays.
Enter a Project name for your application.
If you want, enter values for the optional fields:
Enter a Java package name.
Select the Create as Maven project checkbox to generate a
pom.xmland configure the Eclipse project to use the Maven builder.
Enter the Group ID and Artifact ID for your Maven project.
Select any libraries you need in the project.
The new application appears in the Eclipse Project Explorer.
- Once you've created an application, you can run and debug it on your local workstation.