简体   繁体   English

对于每个代码更改,都需要导出war并重新启动服务器

[英]For every code change need to export the war and restart the server

I am working in a GWT-Struts-Hibernate project. 我正在GWT-Struts-Hibernate项目中工作。 Whenever I changed any GWT code, it will reflect in Dev mode. 每当我更改任何GWT代码时,它都会反映在Dev模式下。 But Whenever I changed any Struts or Hibernate related code, I need to stop the server and export the war to Jboss and then start the server. 但是,无论何时更改任何Struts或Hibernate相关代码,都需要停止服务器并将战争导出到Jboss,然后启动服务器。 This eats lots of my working time. 这消耗了我很多的工作时间。

Is there any alternative process for this? 是否有其他替代方法? We are using Jboss 4.2.3.GA server. 我们正在使用Jboss 4.2.3.GA服务器。

I know in JBoss 7, you can update your deployment-scanner in the standalone.xml configuration file and modify like this auto-deploy-exploded=true . 我知道在JBoss 7中,您可以在standalone.xml配置文件中更新您的Deployment-scanner,并像auto-deploy-exploded=true

Of course, you can change this from admin console. 当然,您可以从管理控制台更改此设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM