GWT 应用程序 - 部署在 Tomcat 或任何其他 servlet 容器上 [英] GWT app - deploying on Tomcat or any other servlet container

查看:18
本文介绍了GWT 应用程序 - 部署在 Tomcat 或任何其他 servlet 容器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有 Eclipse GWT 插件或任何其他方法可以在 Tomcat(或任何其他 Serlvet 容器)上自动部署和运行 GWT 应用程序?目前我知道的唯一方法是将编译后的类复制到 WEB-INF 目录中,但这是一项艰巨的工作.此外,您必须手动配置 Apache Tomcat.我想在 Eclipse 动态 Web 项目中有类似的东西,您可以通过生成 tomcat 进程直接运行您的 servlet.

Is there a plugin for Eclipse GWT or any other method to automatically deploy and run GWT app on Tomcat (or any other Serlvet container)? For the moment the only method I know is copying the compiled classes into WEB-INF directory but this is an arduous work. Additionally you have to configure Apache Tomcat manually. I'd like to have something like in Eclipse Dynamic Web Project where you can run your servlets directly by spawning tomcat process.

谢谢

推荐答案

您可以编写一个 Ant 任务来部署和运行您的 GWT 应用程序.它可以复制文件,然后告诉您的 servlet 容器重新加载最新的文件.

You could write an Ant task to deploy and run your GWT app. It could copy the files and then tell your servlet container to reload the latest files.

这篇关于GWT 应用程序 - 部署在 Tomcat 或任何其他 servlet 容器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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