Eclipse Ganymede - 与Tomcat 6的集成(没有整个WTP)

时间:2023-02-05 11:32:12

If I start with a Eclipse IDE for Java Developers (85 MB) (Ganymede) installation. What plug ins do I need to install to be a able to:

如果我开始使用Eclipse IDE for Java Developers(85 MB)(Ganymede)安装。我需要安装哪些插件才能:

  • See the Server tab and being able to add my Tomcat 6 installation.
  • 请参阅服务器选项卡,并能够添加我的Tomcat 6安装。

  • Be able to create a Dynamic Web Project which I may connect to my server.
  • 能够创建一个动态Web项目,我可以连接到我的服务器。

  • I want to be able to start and stop the server.
  • 我希望能够启动和停止服务器。

  • See the server Stdout-output in my Console tab.
  • 在我的控制台选项卡中查看服务器Stdout-output。

  • Debug an application on the server.
  • 在服务器上调试应用程序。

I want to install as little as possible, as long as I can do the above things I am more than satisfied.

我想尽可能少地安装,只要我能做上述事情我就满意了。

Especially since I have problems with the complete Web Tools Platform (WTP); according to me it's full of bugs related to validation. It sometimes says valid files are invalid, often it helps if you simply restart Eclipse. I have also found it to ignore exclusions as well as sometimes completely ignoring that I have disabled validation all together.

特别是因为我对完整的Web Tools Platform(WTP)存在问题;根据我的说法,它充满了与验证相关的错误。它有时表示有效文件无效,如果您只是重启Eclipse,通常会有所帮助。我还发现它忽略排除,有时完全忽略我已经一起禁用了验证。

The problems I've experienced have made me uninterested in anything from the WTP project, except the plug ins enabling me to work more smoothly by fulfilling the above unordered list (because that part of WTP worked really well).

我遇到的问题使我对WTP项目中的任何事情都不感兴趣,除了插件使我能够通过完成上述无序列表更顺利地工作(因为WTP的那部分工作得非常好)。

I have heard the some have had success with Sysdeo Eclipse Tomcat Launcher Plug-in together with Ganymede. But since it's officially not supported and there has not been a new release since May 2007 and running it with Ganymede involved changing the plug-in files to accept versions >=3.4 I don't see it as a long term solution.

我听说有些人已经使用Sysdeo Eclipse Tomcat Launcher Plug-in和Ganymede取得了成功。但由于它正式不受支持,并且自2007年5月以来没有新的版本,并且与Ganymede一起运行它涉及将插件文件更改为接受版本> = 3.4我不认为它是一个长期解决方案。

Installing parts of the WTP but not it in its whole feels like a long term solution while at the same time skipping the error ridden parts of the WTP. But I need help with which parts I need to install, as the documentation on Eclipse.org does not explain. Of course, if there is another supported solution than using parts of WTP then that is of interest too!

安装WTP的部分但不是整体的感觉就像是一个长期的解决方案,同时跳过WTP的错误部分。但是我需要帮助我需要安装哪些部分,因为Eclipse.org上的文档没有解释。当然,如果有另一个支持的解决方案而不是使用WTP的部分,那么这也是有意义的!

1 个解决方案

#1


When I display the "eclipse Plug-in Dependencies" view for org.eclipse.jst.server.tomcat.ui, I see:

当我为org.eclipse.jst.server.tomcat.ui显示“eclipse Plug-in Dependencies”视图时,我看到:

  • org.eclipse.wst.common.emf
  • org.eclipse.wst.common.emfwrokben.integration
  • org.eclipse.wst.common.environment
  • org.eclipse.wst.common.frameworks
  • org.eclipse.wst.common.modulecore
  • org.eclipse.wst.common.project.facet.core
  • org.eclipse.wst.common.project.facet.ui
  • org.eclipse.wst.common.uriresolver
  • org.eclipse.wst.internet.monitor.core
  • org.eclipse.wst.server.core
  • org.eclipse.wst.server.ui
  • org.eclipse.wst.validation

So if you can select org.eclipse.jst.server.tomcat.ui through p2 and let that "update process" to pick the dependencies for you, you should end up with the minimal set of plugins needed for running/managing Tomcat on Eclipse (with WTP).

因此,如果您可以通过p2选择org.eclipse.jst.server.tomcat.ui并让“更新进程”为您选择依赖项,那么最终应该使用在Eclipse上运行/管理Tomcat所需的最小插件集(使用WTP)。

#1


When I display the "eclipse Plug-in Dependencies" view for org.eclipse.jst.server.tomcat.ui, I see:

当我为org.eclipse.jst.server.tomcat.ui显示“eclipse Plug-in Dependencies”视图时,我看到:

  • org.eclipse.wst.common.emf
  • org.eclipse.wst.common.emfwrokben.integration
  • org.eclipse.wst.common.environment
  • org.eclipse.wst.common.frameworks
  • org.eclipse.wst.common.modulecore
  • org.eclipse.wst.common.project.facet.core
  • org.eclipse.wst.common.project.facet.ui
  • org.eclipse.wst.common.uriresolver
  • org.eclipse.wst.internet.monitor.core
  • org.eclipse.wst.server.core
  • org.eclipse.wst.server.ui
  • org.eclipse.wst.validation

So if you can select org.eclipse.jst.server.tomcat.ui through p2 and let that "update process" to pick the dependencies for you, you should end up with the minimal set of plugins needed for running/managing Tomcat on Eclipse (with WTP).

因此,如果您可以通过p2选择org.eclipse.jst.server.tomcat.ui并让“更新进程”为您选择依赖项,那么最终应该使用在Eclipse上运行/管理Tomcat所需的最小插件集(使用WTP)。