Eclipse web.xml 编辑器
我已经使用 WTP 工具安装了 Helios Service Release 2。我创建了一个简单的动态 Web 项目。当我打开使用默认 XML 编辑器打开的 web.xml 时,它仅显示两个选项卡:设计(标准 XML 选项卡)和设计(标准 XML 选项卡)。来源。
当我过去使用 Rational Software Architect 时,它使用“Servlet”、“引用”等选项卡打开 web.xml,让您可以在可视化点和视图中轻松编辑 web.xml 的各个部分。单击方式。
这可以用 Eclipse 实现吗?
顺便说一句,我尝试了“打开方式”菜单选项,但找不到适合 web.xml 的编辑器,
谢谢
I have Helios Service Release 2 installed with WTP tools. I created a simple dynamic web project. When I open web.xml, which opens with default XML editor, it shows only two tabs:Design(Standard XML tab) & Source.
When I worked with Rational Software Architect in past, it opened web.xml with tabs like 'Servlet', 'References' so on to let you easily edit various parts of web.xml in visual point & click manner.
Is this possible with Eclipse?
btw, I tried 'Open with' menu option but couldn't find appropriate editor for web.xml
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以通过 Eclipse 市场安装 JBoss 工具,以获得完整的 web.xml 编辑器。您不必安装所有插件。就我而言,我刚刚安装了“上下文和依赖注入工具”
You can install JBoss tools through Eclipse marketplace to have a complete web.xml editor. You don't have to install all the plugins. In my case I just installed the "Context and Dependency Injection Tools"
Eclipse目前没有这个功能。 IBM 在播种 Eclipse Web Tools 项目时并没有从 Rational Software Artifact 捐赠这部分工具。
请注意,在 Eclipse 中实现这些编辑器的工作刚刚开始,但直到 2012 年夏季 Juno 发布之前您将无法使用该工作的成果。
同时,您需要使用纯 XML 编辑器或寻求第三方解决方案,例如 MyEclipse。请注意,MyEclipse 与 Eclipse WTP 不兼容。它是用于 Web 应用程序开发的独立工具堆栈。
Eclipse currently does not have this functionality. IBM did not donate this part of the tooling from Rational Software Artifact when it seeded Eclipse Web Tools Project.
Note that there is an effort that is just getting started to implement these editors at Eclipse, but you are not going to be able to use the fruit of that work until Juno release in the Summer of 2012.
In the meantime, you will need to use plain XML editor or seek third-party solutions, such as MyEclipse. Note that MyEclipse is not compatible with Eclipse WTP. It is separate tooling stack for web app development.