Eclipse용 Cloud Tools는 App Engine 표준 환경에서 새 자바 애플리케이션을 만들 수 있도록 Eclipse 내부에 마법사를 제공합니다.
시작하기 전에
- 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 Google Cloud project.
-
Enable the Cloud Build API.
- Install the Google Cloud CLI.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
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 Google Cloud project.
-
Enable the Cloud Build API.
- Install the Google Cloud CLI.
-
To initialize the gcloud CLI, run the following command:
gcloud init
Google Cloud 콘솔에서 Google Cloud 프로젝트의 App Engine 애플리케이션을 만듭니다.
앱의 컴퓨팅 리소스를 배치할 리전을 선택합니다.
- Cloud Tools for Eclipse의 최신 버전이 있는지 확인합니다.
App Engine 표준 환경에서 새 Java 프로젝트 만들기
Eclipse에서 App Engine 표준 환경에 대해 새 프로젝트를 만들려면 다음 안내를 따르세요.
Click the Google Cloud Platform toolbar button .
Select Create New Project > Google App Engine Standard Java Project.
Enter a Project name and (optionally) a Java package.
To create a Maven-based App Engine project, select Create as Maven Project and enter a Maven Group ID and Artifact ID of your choosing to set the coordinates for this project. The Group ID is often the same as the package name, but does not have to be. The Artifact ID is often the same as or similar to the project name, but does not have to be.
Click Next.
Select any libraries you need in the project.
Click Finish.
The wizard generates a native Eclipse project, with a simple servlet, that you can run and deploy from the IDE.
다음 단계
- 애플리케이션을 만들었으면 로컬 워크스테이션에서 실행하고 디버그할 수 있습니다.