有人能够在带有 MyEclipse 的 Websphere 6.1 上使用 m2eclipse 进行热部署吗?
我一直在寻找在 MyEclipse 上使用 m2eclipse 插件并使用 Websphere 6.1 时如何热部署我的项目。
到目前为止,我所做的是使用 was6 maven 插件 (http: //mojo.codehaus.org/was6-maven-plugin/),但该插件只会将 EAR 部署到 Websphere 中。因此,每当我只需更改一行代码时,我都必须再次重新部署应用程序。服务器不会仅仅通过保存修改后的源代码或 JSP 文件来接受更改。
我正在使用 MyEclipse 8.5 IDE 和原始 m2eclipse 插件(不是 Maven4MyEclipse)。
有人能做到吗?如果是这样怎么办?
提前致谢
I've been looking around for a while how can I hotdeploy my projects when using m2eclipse plugin on MyEclipse and working with Websphere 6.1.
What I've done so far is to deploy my full application using the was6 maven plugin (http://mojo.codehaus.org/was6-maven-plugin/) but that plugin will only deploy the EAR into the Websphere.So whenever I have to change just one line of code I have to redeploy the application again. The server doesn't take the changes just by saving the modified source code or JSP file.
I am working with MyEclipse 8.5 IDE and with the original m2eclipse plugin (Not Maven4MyEclipse).
Has anyone been able to do that? And if so how?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
JRebel 是一个商业解决方案,可以让您的生活变得更加轻松。它很便宜(大约 60 美元)。我实际上购买了个人许可证,而不是等待我的公司购买它。有 30 天免费试用!
JRebel 将热交换您的 .class 文件和资源。无需maven打包,只需将资源保存在Eclipse中,JRebel就会放到服务器上。有一些限制,但在我看来,它可以挽救生命。
我们在 Jetty 上使用了 JRebel,并且我读到它在 WAS 上受支持。
JRebel is a commercial solution that would make your life much easier. It's cheap (like $60). I actually bought a personal license intead of waiting for my company to purchase it. There is a free 30 day trial!
JRebel will hotswap your .class files and resources. No need to maven package, just save the resource in Eclipse, and JRebel will put on the server. There a few limitations, but in my opinion, its a life save.
We have used JRebel on Jetty, and I have read it is supported on WAS.