Eclipse Kepler和JBoss Wildfly热插拔 [英] Eclipse Kepler and JBoss Wildfly hot deployment

查看:285
本文介绍了Eclipse Kepler和JBoss Wildfly热插拔的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用eclipse kepler进行Java EE 7.我已经安装了JBoss Tools,并且成功地添加了JBoss Wildfly作为服务器。但是我的更改不会自动部署。有没有可以自动部署应用程序,就像使用glassfish一样?

解决方案

使用Eclipse,在WildFly服务器上单击两次编辑以下属性:


  1. 发布:选择构建事件后自动发布。我想将发布间隔更改为1秒。

  2. 应用程序重新加载行为:选中自定义应用程序重新加载...复选框并编辑正则表达式到 \.jar $ | \.class $

就是这样。祝你好运!


I am trying to use eclipse kepler for Java EE 7.I already installed JBoss Tools and added JBoss Wildfly successfully as a server. However my changes are not automatically deployed. Is there anyway the app can be deployed automatically just as when using glassfish?

解决方案

Using Eclipse, click twice on your WildFly Server to edit the following properties:

  1. Publishing: choose "Automatically publish after a build event". I like to change the publishing interval to 1 second too.
  2. Application Reload Behavior: check the "Customize application reload ..." checkbox and edit the regex pattern to \.jar$|\.class$

That's it. Good luck!

这篇关于Eclipse Kepler和JBoss Wildfly热插拔的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆