是否可以从 Eclipse Galileo 部署在 JBoss 展开的 Web 应用程序(不是存档的战争文件)上?
3 回答
JBoss Tools 支持使用“原生”Web Tools(WTP) 风格的项目(即那些由基于动态 Web 项目的向导创建的项目)和通过通用项目档案插件进行扩展部署。
如果您已经有了 WTP 风格的项目,那么您只需要安装 jboss 工具并从“JBoss 社区”或“JBoss 企业平台”类别创建一个服务器(“JBoss”是 WTP 通用服务器,非常不完整)并将您的项目部署到服务器,默认情况下它将被部署。
如果您想以压缩形式部署,则在服务器编辑器中有一个选项(双击服务器视图中的服务器并查看部署部分)
It has been a long time since I used it but, according to this post, it should be possible using JBoss Tools (previously known as JBoss IDE, before the merge with Exadel). Quoting the blog post:
One of my favorite feature in JBoss Tools is the "Project Archives" which provides automatic and incremental archiving of arbitrary directories into a zipped archive (jar,zip,war,etc) or into an exploded directory. Usable for any development that wants hot and/or exploded deployment.
我们正在使用具有此特定功能的 Eclipse 的 MyEclipse 插件,但它是一个商业插件。如果您仅在 JBoss 上部署应用程序,那么您将拥有适用于 Eclipse 的 JBoss 工具插件。根据他们的文档,他们也支持这种模式,而且这个插件是免费的,但我从未尝试过。