带有 Bluemix 和 Liberty 插件的 Eclipse 中的打包服务器选项不可用
Packaged Server option not available in Eclipse with Bluemix and Liberty plugin
我正尝试按照此 post 中的说明自定义 Liberty 设置:
"Custom Liberty server.xml configurations in IBM Bluemix",见:
https://www.ibm.com/blogs/bluemix/2015/01/modify-liberty-server-xml-configurations-ibm-bluemix/
为了修改Liberty服务器的特性,我想用一个定制的服务器配置来代替自动生成配置文件,根据说明叫做"Liberty packaging server"。
在 Eclipse Neon IDE 中,我已经安装了两个插件,即 Bluemix 工具和 Liberty 开发插件。在服务器选项卡上,我右键单击活动的 Blumix 服务器,但菜单上没有显示 "packaging server" 的选项。默认的 "push" 选项工作正常。
在 Eclipse IDE 中,是否缺少用于为 Liberty 创建和发布自定义服务器包(测试版 + 功能)的软件组件?我如何使用 Eclipse 运行 没有命令行工具的自定义打包?
在 Eclipse 中,如果要将整个服务器发布到 Bluemix,请按照以下步骤操作:
- 停止本地 Liberty 服务器
- 在 Eclipse 的 Servers 视图中,抓取本地 Liberty 服务器并将其拖到 Bluemix 服务器。它将发布整个服务器及其配置。
查看此页面了解更多详情 - Deploying apps with IBM Eclipse Tools for Bluemix
您需要右键单击 Liberty 服务器定义,而不是右键单击 Bluemix 服务器。
在 Bluemix 中发布打包服务器主要有两种方式:
- 您拥有(或创建)代表服务器的 Liberty 服务器实例。有关如何创建 Liberty 服务器的详细信息,请参阅 http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/t_creating_server.html。在 Eclipse 中创建 Liberty 服务器后,您只需将 Liberty 服务器添加到 Servers 视图上的 Bluemix 服务器,它将在发布操作期间为您打包服务器。
- 您在要发布的工作区中已有打包的服务器 zip 文件。然后,您只需右键单击 zip 文件并在服务器上执行 运行 As > 运行。
详情可以参考https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html#packagedserversupport
通常首选第一种方法,因为您可以继续更新应用程序和服务器配置文件,并通过发布操作对应用程序进行增量更新。
我正尝试按照此 post 中的说明自定义 Liberty 设置:
"Custom Liberty server.xml configurations in IBM Bluemix",见:
https://www.ibm.com/blogs/bluemix/2015/01/modify-liberty-server-xml-configurations-ibm-bluemix/
为了修改Liberty服务器的特性,我想用一个定制的服务器配置来代替自动生成配置文件,根据说明叫做"Liberty packaging server"。
在 Eclipse Neon IDE 中,我已经安装了两个插件,即 Bluemix 工具和 Liberty 开发插件。在服务器选项卡上,我右键单击活动的 Blumix 服务器,但菜单上没有显示 "packaging server" 的选项。默认的 "push" 选项工作正常。
在 Eclipse IDE 中,是否缺少用于为 Liberty 创建和发布自定义服务器包(测试版 + 功能)的软件组件?我如何使用 Eclipse 运行 没有命令行工具的自定义打包?
在 Eclipse 中,如果要将整个服务器发布到 Bluemix,请按照以下步骤操作:
- 停止本地 Liberty 服务器
- 在 Eclipse 的 Servers 视图中,抓取本地 Liberty 服务器并将其拖到 Bluemix 服务器。它将发布整个服务器及其配置。
查看此页面了解更多详情 - Deploying apps with IBM Eclipse Tools for Bluemix
您需要右键单击 Liberty 服务器定义,而不是右键单击 Bluemix 服务器。
在 Bluemix 中发布打包服务器主要有两种方式:
- 您拥有(或创建)代表服务器的 Liberty 服务器实例。有关如何创建 Liberty 服务器的详细信息,请参阅 http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/t_creating_server.html。在 Eclipse 中创建 Liberty 服务器后,您只需将 Liberty 服务器添加到 Servers 视图上的 Bluemix 服务器,它将在发布操作期间为您打包服务器。
- 您在要发布的工作区中已有打包的服务器 zip 文件。然后,您只需右键单击 zip 文件并在服务器上执行 运行 As > 运行。
详情可以参考https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html#packagedserversupport
通常首选第一种方法,因为您可以继续更新应用程序和服务器配置文件,并通过发布操作对应用程序进行增量更新。