在Tomcat下Grails爆炸了 [英] Grails exploded under tomcat

查看:88
本文介绍了在Tomcat下Grails爆炸了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在tomcat上以爆炸模式使用Grails,以便在正在运行的应用程序(如gif)中进行个别更改,而无需重新生成整个war并上传它?

有点像在tomcat的conf / Catalina / localhost中添加一个xml文件,指向一个爆炸的grails应用程序?



不知道你在这里的意思,但是当tomcat检测到一个新的时候会爆炸,在这种情况下你可以修改文件直接在分解目录中。我不会推荐这个,因为一旦你上传新版本的战争,所有的改变都将失去。


is there a way to use Grails in "exploded" mode on tomcat in order to make individual changes in a running application (like a gif) without having to regenerate the entire war and upload it ?

Something like adding an xml file in tomcat's conf/Catalina/localhost that points to an exploded grails application ?

Thanks in advance.

解决方案

Not sure what you mean here, but tomcat will explode the war when it detects a new one, in which case you could modify the files directly in the exploded directory. I wouldn't really recommend this though as once you upload a new version of the war all of your changes will be lost.

这篇关于在Tomcat下Grails爆炸了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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