在一台服务器上运行不同的项目
我想在 IntelliJ IDEA 中的单个 JBoss AS 上运行不同的项目(不同的项目,而不是不同的模块)。所有项目都应支持热部署。
我知道如何在 Eclipse 中执行此操作,但我不知道如何在 IntelliJ IDEA 中执行此操作。这可能吗?
I'd like to run different projects on a single JBoss AS in IntelliJ IDEA (different projects, not different modules). All the projects should support hot deployment.
I know how to do that in Eclipse, but I've got no idea of how to do it in IntelliJ IDEA. Is this even possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我通过将 Maven 项目添加到我的窗口(Maven 项目选项卡 -> (+) 添加 Maven 项目)来解决此问题。我的项目不共享任何内容,它们有自己的模块和自己的工件。在编辑 jboss 的配置时,单击 Deployment ->添加,我所有项目中的所有 Web 模块都会显示出来,我可以一一添加它们。希望你也能这样做。
I work around this by adding Maven Projects to my window (Maven Projects tab -> (+) Add Maven Project). My projects don't share anything, they have their own modules and their own artifacts. While editing configuration for my jboss, clicking Deployment -> Add, all the web modules from all my projects show up and I can add them one by one. Hopefully you can do the same.
IntelliJ IDEA 模块与 Eclipse 项目相同,查看常见问题解答。一个 IDEA 项目中有多个模块允许您同时将多个模块部署到同一服务器。
IntelliJ IDEA module is the same as Eclipse project, see the FAQ. Having multiple modules in one IDEA project allows you to deploy several modules at the same time to the same server.