简体   繁体   English

当运行新的App Engine应用程序时,Eclipse IDE启动了一个新的App Engine Standard实例

[英]Eclipse IDE launched a new App Engine Standard instance when a new App Engine app was run

I have created multiple Google App Engine Standard Java projects with Eclipse neon.3 in my workspace. 我在工作区中使用Eclipse neon.3创建了多个Google App Engine标准Java项目。 Google Cloud tool for Eclipse was installed properly. Eclipse的Google Cloud工具已正确安装。 App Engine Standard Runtime was also added to Eclipse Server Run Environments properly. App Engine标准运行时也已正确添加到Eclipse Server运行环境中。

My question is why a new "App Engine Standard at localhost" instance was launced when I ran a different project in my projects via Run As -> App Engine. 我的问题是,当我通过运行方式-> App Engine在我的项目中运行其他项目时,为什么启动了一个新的“ localhost上的App Engine标准”实例。 For example, if I have 5 App Engine Standard Java projects in the Eclipse IDE, it needs to launch 5 App Engine Standard servers (one for each project obviously). 例如,如果我在Eclipse IDE中有5个App Engine Standard Java项目,则它需要启动5个App Engine Standard服务器(显然每个项目一个)。

Is there a way for Eclipse to just launch one server instance for all my App Engine projects? Eclipse是否可以为所有App Engine项目启动一个服务器实例?

在此处输入图片说明

There are a couple of ways to do this providing that each of the projects has a different Service ID : 有几个方法可以做到这提供每个项目都有不同的服务ID:

  1. Select the different projects in your explorer and right-click and choose Run As > App Engine (or Debug As ). 在资源管理器中选择不同的项目,然后右键单击并选择“运行方式”>“ App Engine” (或“ 调试方式” )。 Note that this will reuse an existing definition if there is one with those projects already configured. 请注意,如果已经定义了那些项目,则这将重用现有的定义。
  2. Edit an existing definition: From the Servers view, right-click on a server definition and choose Add or Remove… and add your projects to that definition. 编辑现有定义:在“ 服务器”视图中,右键单击服务器定义,然后选择“ 添加或删除...”,然后将项目添加到该定义。

You can also create a new server definition, either via File > New > Server or from the Servers view, and add your projects there. 您还可以通过“ 文件”>“新建”>“服务器”或从“ 服务器”视图创建新的服务器定义,然后在其中添加项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 google app引擎:没有用户数据的新实例 - google app engine : new instance with no user data 在调试时在本地主机上的Eclipse App Engine Standard上运行多模块Java App Engine(EAR)应用程序 - Run Multi Module Java App Engine (EAR) application on Eclipse App Engine Standard on localhost on debug 在eclipse IDE中安装app引擎插件 - installing app engine plugin in eclipse IDE 启动新的应用程序实例时,如何将数据传递到已运行的应用程序实例 - When new app instance launched, how to pass data to already running app instance Google App Engine创建新的Google帐户 - Google App Engine Create New Google Account 如何在Eclipse中更改目标应用程序引擎帐户以部署新应用程序? - How do I change the target app engine account in eclipse to deploy a new app? eclipse中的Java App Engine项目返回Localhost上的Server App Engine Standard无法启动 - Java App Engine Project in eclipse return Server App Engine Standard at Localhost failed to start 更新到 App Engine Java 11 标准环境:Eclipse 中的项目方面 - Updating to App Engine Java 11 Standard Environment: Project Facets in Eclipse 无法运行Maven Google Standard App Engine 1.9.68原型 - Cannot Run Maven Google Standard App Engine 1.9.68 Archetype Spring Boot可以在Google标准应用引擎上运行吗? - Can spring boot run on google standard app engine?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM