如何从 Eclipse Juno 在 JBoss AS 7 上部署?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11982718/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:48:45  来源:igfitidea点击:

How to deploy on JBoss AS 7 from Eclipse Juno?

eclipsejbossjboss7.xeclipse-juno

提问by Sebi

I'm using Eclipse Juno and want to test my Java web app in JBoss AS 7. How do I configure Eclipse so that it starts JBoss AS 7 and deploys the war? Also remote debugging should work. It seems I can't use JBoss Tools as they are only released for the previous Eclipse versions (Indigo and Helios).

我正在使用 Eclipse Juno 并想在 JBoss AS 7 中测试我的 Java Web 应用程序。如何配置 Eclipse 以便它启动 JBoss AS 7 并部署War?远程调试也应该有效。似乎我不能使用 JBoss 工具,因为它们只针对以前的 Eclipse 版本(Indigo 和 Helios)发布。

Any pointers?

任何指针?

回答by Ashutosh Jindal

It seems that the current stable releases of JBoss Tools supports Eclipse Indigo (3.7.2) and Helios (3.6.x) as detailed here:

看来,JBoss的工具的当前稳定版本的Eclipse支持靛蓝(3.7.2)和太阳神(3.6.x的)详见这里

Is there a Beta Update site for Juno ?

是否有 Juno 的 Beta 更新站点?

Thispage has the details of the update site for Juno :

页面包含 Juno 更新站点的详细信息:

Instructions will be posted after the first Juno-compatible milestone is available.

Until then, just point your Eclipse 4.2 (Juno) installation at this site to install the latest nightly build. Note that there is no guarantee of quality with a nightly, nor do we guarantee it won't set your computer on fire.

说明将在第一个与 Juno 兼容的里程碑可用后发布。

在此之前,只需将您的 Eclipse 4.2 (Juno) 安装指向此站点即可安装最新的夜间构建。请注意,每晚不保证质量,我们也不保证它不会让您的计算机着火。

Update site : JBoss Tools - Core - Nightly Build Update Site

更新站点:JBoss 工具 - 核心 - 每晚构建更新站点

It bears repeating, that the above is unstable at the moment.

值得重申的是,上述情况目前不稳定。

Stability of JBoss Tools Beta for Juno ?

用于 Juno 的 JBoss Tools Beta 的稳定性?

From thispage:

这个页面:

Since the first version of Eclipse Juno is arriving soon it is worth mentioning that JBoss Tools from its updatesite can be installed on top of Juno.

It is though not guaranteed everything works, we know that especially Hibernate Dali/JPT integration have issues since here the API has changed greatly.

But if you are a Juno early-adopter then do please try run JBoss Tools on it and if you find issues let us know in the forum or on JIRA.

由于 Eclipse Juno 的第一个版本即将推出,值得一提的是,其更新站点中的 JBoss Tools 可以安装在 Juno 之上。

虽然不能保证一切正常,但我们知道尤其是 Hibernate Dali/JPT 集成存在问题,因为 API 在这里发生了很大变化。

但是,如果您是 Juno 的早期采用者,那么请尝试在其上运行 JBoss Tools,如果您发现问题,请在论坛或 JIRA 上告诉我们。

Also, thismight be of interest :

此外,可能会引起兴趣:

Our latest Beta, soon coming CR1 runs on Eclipse Juno (3.8/4.2) exceptfor the Eclipse Dali/JPA integration

我们最新的 Beta 版即将推出 CR1 可在 Eclipse Juno (3.8/4.2) 上运行,Eclipse Dali/JPA 集成除外

回答by ?ukasz Wo?niczka

I use Eclipse Juno and I installed Jboss Tool for helios version.

我使用 Eclipse Juno,并为 helios 版本安装了 Jboss Tool。

Works like a charm.

奇迹般有效。

回答by Sriram

This stable version of JBoss Tools 4.0.0 works well with Eclipse 4.2 (Juno).

JBoss Tools 4.0.0 的这个稳定版本与 Eclipse 4.2 (Juno) 配合得很好。

Steps :

脚步 :

Note : You can also download JBoss Tools as individual zips for offline installation.

注意:您还可以将 JBoss 工具作为单独的 zip 下载以进行离线安装。

Refer :JBoss Tools 4.0.1.Final Stable Release

参考:JBoss Tools 4.0.1.Final Stable Release

回答by Azhaguvel A

Please find the below steps to add JBoss Toolsfor Eclipse Juno

请按照以下步骤为Eclipse Juno添加JBoss 工具

  1. Go to Help -> Eclipse Marketplace
  2. Type JBoss Tools in the Find text box
  3. You can see the JBoss Tools (Juno) icon in the listed items with install button
  4. Click on the install button
  5. Restart your Eclipse to reflect.
  1. 转到帮助 -> Eclipse Marketplace
  2. 在查找文本框中键入 JBoss Tools
  3. 您可以在带有安装按钮的列出项目中看到 JBoss Tools (Juno) 图标
  4. 点击安装按钮
  5. 重新启动您的 Eclipse 以进行反映。