如何使用 Eclipse Helios 3.6 安装 GlassFish 3 服务器适配器 [英] How to install the GlassFish 3 server adapter with Eclipse Helios 3.6

查看:31
本文介绍了如何使用 Eclipse Helios 3.6 安装 GlassFish 3 服务器适配器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题中提到的问题:如何在 Eclipse Helios 3.6 上安装 GlassFish Server Adapter?

解决方案

Eclipse Helios 3.6

在撰写本文时 (07/26/2010),理​​论上有两种安装 GlassFish Server 适配器的方法:通过 Eclipse Marketplace 或通过更新站点.

更新:正如

更新站点

转到帮助→安装新软件添加以下临时1更新站点:

点击下一步并按照步骤操作.

1 GlassFish 插件正在移至 Oracle Enterprise Pack for Eclipse (OEPE) 并将在 http://download.oracle.com/otn_software/oepe/helios/wtp(见 错误 312912).

<小时><小时>

上述问题实际上并非特定于 GlassFish 插件,也特定于平台.问题是使用 shared install 时 Eclipse 3.6 中的 p2 错误(这是问题的根本原因),正如我在阅读此其他问题 关于 SO 和 错误 322929.该问题与 Eclipse 3.6 SR1 中修复的 p2 错误有关,在安装 Eclipse 3.6 SR1 RC4 后,现在确实按预期工作.是啊!

Question as stated in the title: how to install the GlassFish Server Adapter on Eclipse Helios 3.6?

解决方案

Eclipse Helios 3.6

At the time of writing this (07/26/2010), there are in theory two ways to install the GlassFish Server adapter: via the Eclipse Marketplace or via an update site.

Update: As mentioned by Thorbjørn in a comment, the adapter is now (09/24/2010) available in the Additional server adapters dialogue (the "normal way").

New Server

There are several ways to do this but one ways is to right-click in the Server view, select New > Server then click the Download additional server adapters link and select the GlassFish adapter.

Marketplace

Go to Help > Eclipse Marketplace... and search for "glassfish". Then click on the Install button of the GlassFish Java EE Application Server Plugin for Eclipse and follow the steps.

Update site

Go to Help → Install New Software, Add the following temporary1 update site: http://download.java.net/glassfish/eclipse/helios. Be sure to uncheck Group items by category and you should see the Oracle GlassFish Server Tools as shown below:

Click on Next and follow the steps.

1 The GlassFish plugin is being moved to the Oracle Enterprise Pack for Eclipse (OEPE) and will be available at http://download.oracle.com/otn_software/oepe/helios/wtp in the future (see Bug 312912).



The problem mentioned above is actually not specific to the GlassFish plugin and is not platform specific. The issue is a p2 bug in Eclipse 3.6 when using a shared install (which is the root cause of the problem) as I discovered after reading this other question on SO and the Bug 322929. The problem is related to a p2 bug which is fixed in Eclipse 3.6 SR1 and after installing Eclipse 3.6 SR1 RC4, things are now indeed working as expected. Yeah!

这篇关于如何使用 Eclipse Helios 3.6 安装 GlassFish 3 服务器适配器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆