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

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

问题描述

标题中所述的问题:如何在Eclipse Helios 3.6上安装GlassFish服务器适配器?

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

推荐答案

Eclipse Helios 3.6



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

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.

更新:正如Thorbjørn在评论中,适配器现在(09/24/2010)可用于其他服务器适配器对话框(正常方式)。

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").

有几种方法可以做到这一点,但有一种方法是在服务器中右键单击 strong>视图,选择新建>服务器,然后单击下载其他服务器适配器链接,然后选择GlassFish适配器。

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.

转到 H elp> Eclipse Marketplace ... 并搜索glassfish。然后点击安装按钮。 mpc_state =rel =nofollow noreferrer> GlassFish Java EE应用程序服务器Eclipse插件插件,并按照步骤。

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.

alt text http://a.yfrog.com/img828/8518/screenshot008thumb.png

转到帮助>安装新软件添加以下临时 1 更新站点: http://download.java。净/的glassfish /蚀/赫利俄斯。请确定取消选择按类别分组项目,您应该会看到如下所示的 Oracle GlassFish服务器工具

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:

alt text http://a.yfrog.com/img833 /5092/screenshot008.png

点击下一步,然后按照步骤进行。

Click on Next and follow the steps.

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

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).


重要免责声明

上述方法似乎适用于部分用户,但为了我。在我的GNU / Linux平台上,我正在面对此评论中提到的问题/ a> Eclipse 3.6(Helios)& GlassFish :安装过程成功结束,该插件被视为已安装,但在首选项菜单中没有任何GlassFish条目,并且GlassFish不会显示在服务器列表中运行。所以现在,我坚持使用Eclipse 3.5。

The above approaches seem to work for some users but didn't for me. On my GNU/Linux platform, I'm facing the problem mentioned in this comment of Eclipse 3.6 (Helios) & GlassFish: the install procedure ends successfully, the plugin is seen as installed, but I don't get any GlassFish entry in the Preferences menu and GlassFish doesn't appear in the list of server runtime. So for now, I'm sticking with Eclipse 3.5.

更新(20100924) / strong>

UPDATE (20100924)

上面提到的问题实际上是不是特定于GlassFish插件,而且平台特定。在使用 共享安装 (这是问题的根本原因)之后,问题是Eclipse 3.6中的p2错误,因为我读到这个 其他问题 在SO和错误322929 。该问题与Eclipse 3.6 SR1中的固定相关,并且在安装Eclipse 3.6 SR1 RC4之后,事情现在的确按照预期工作。是啊!

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天全站免登陆