“目录部署”玻璃鱼 +梅文 +蚀

发布于 2024-11-28 21:37:19 字数 658 浏览 0 评论 0原文

背景:
我有 Maven2 配置的项目 hibernate + spring + wicket。 m2eclipse 更具体。

问题是什么:
我的问题是每次我都必须进行:清理、安装和构建(重新部署/部署),这需要花费很多时间。我试图进行“目录部署”,其描述为 此处。我希望我只需要进行清理并安装即可将我的应用程序部署到 glassfish。

不幸的是我得到了:

警告:deploydir 命令已弃用。请使用部署命令 相反。

另外,当我更改 .java 文件中的某些内容时,我必须进行手动部署。目录部署不起作用。

问题:
有什么方法可以使部署/重新部署更快吗?也许开始使用ant,而不是maven。也许有人成功地使用了“deploydir”。也许通过 eclipse (而不是 maven/m2eclipse)重新部署?

我真的厌倦了等待重新部署。我将感谢任何建议。
亚当

Background:
I have project hibernate + spring + wicket configured by Maven2. To be more specific by m2eclipse.

What is the problem:
My problem is each time I have to make: clean, install and build (redeploy/deploy), what takes a lot of time. I was trying to make "Directory Deployment" which is described here. I hoped that I will only has to make clean and install to deploy my application to glassfish.

Unfortunately i got:

WARNING : deploydir command deprecated. Please use deploy command
instead.

also when I changed something in .java files I had to make manual deploy. Directory Deploy didn't work.

Question:
Is there any way to make deploy/redeploy faster ? Maybe start to use ant, not maven. Maybe someone use "deploydir" with success. Maybe redeploy by eclipse (not maven/m2eclipse) ?

I'm really tired of waiting for redeploy. I will be thankful for any advice.
Adam

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最后的乘客 2024-12-05 21:37:19

你可以尝试一下 JRebel。如果您不想付费,您唯一能做的就是适应Eclispe webtools平台的部署流程。因此,基本上您还需要安装 m2extras(不仅是 m2eclipse,因为 wtp 集成位于不同更新站点的 extras 中),并定义 eclipse 需要使用部署机制的每个配置。然后在eclipse中定义一个服务器,将你的项目添加到服务器中,就可以工作了。

You could give a try to JRebel. If you do not want to pay for it, the only thing you can do is to fit the deployment process of Eclispe webtools platform. So basicly you need to install m2extras as well (not only m2eclipse, since wtp integration is in extras at a different update site), and define every single configuration eclipse needs to use deploy mechanism. Then define a server in eclipse, add your project to the server, and it will work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文