Reputation: 121
I would like to know if there is any way to create a multiple services app in GAE using the Java 8 standard runtime environment.
I am using Eclipse and it looks forbidden to include the WAR in an EAR structure when creating a Dynamic Web Project under this environment.
Sounds logical regarding : https://cloud.google.com/appengine/docs/standard/java/configuration-files#the_default_service
An App Engine application that uses services is organized as an unpacked Java Enterprise Archive (EAR) directory structure. The top-level EAR directory contains a single META-INF subdirectory, and a separate directory for each service in the app. Note that EAR is supported for the Java 7 runtime only, not for the Java 8 runtime.
Is there any way to bypass the EAR structure for ex ? or any other suggestion ? Worst case, does anybody know if there is anything planned to support the services structure anytime soon ?
Upvotes: 1
Views: 223
Reputation: 2964
Cloud Tools for Eclipse does support multiple services: select the corresponding projects, right-click and Debug As > App Engine. Or add the projects to an existing App Engine dev server definition in the Servers view. Deployment currently must be done one at a time; please provide your feedback to https://github.com/GoogleCloudPlatform/google-cloud-eclipse/issues/2625.
Upvotes: 0