以超级开发模式运行GWT应用程序 [英] Run GWT application in super dev mode

查看:247
本文介绍了以超级开发模式运行GWT应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过mvn gwt:run-codeserver通过maven在超级开发模式下运行GWT应用程序。这个插件给了我一个本地主页 http:// localhost:9876 / ,我将开发模式On 标记为然后访问页面中提供的链接。

然后,我在书签栏上单击 Dev Mode On ,然而,我收到了消息
在此页面上找不到任何GWT模块。



在超级开发模式下运行应用程序,是否必须在Tomcat,JBoss等Web服务器上部署应用程序...

>是的,您需要首先部署您的应用程序。



请参阅 https: //blackoverflow.com/a/18333050/116472 ,这是一个循序渐进的指南。

GWT 2.7将引入一种启动webapp的方式嵌入式Jetty服务器(与DevMode相同),而使用SuperDevMode,甚至不需要书签。请参阅 http://www.sencha.com/blog/getting-started- with-gwt-super-dev-mode / (请注意,这已经在夜间部署的2.7.0-SNAPSHOT中可用)


I'm trying to run GWT application in super dev mode with maven via mvn gwt:run-codeserver. This plugin gave me to a localhost page http://localhost:9876/, I bookmarked the Dev mode On as suggestion and then access the link provided in the page.

Then I clicked Dev Mode On on bookmark bar, however I got messages Can't find any GWT Modules on this page.

So how can I run the application in super dev mode, do I have to deploy the app in a web server like Tomcat, JBoss ...

解决方案

Yes, you do need to deploy your application first.

See https://stackoverflow.com/a/18333050/116472 for a step-by-step guide.

GWT 2.7 will introduce a way to launch your webapp in an embedded Jetty server (the same as in DevMode) while using SuperDevMode, and without even requiring the bookmarklets. See http://www.sencha.com/blog/getting-started-with-gwt-super-dev-mode/ (note that this is already available in the 2.7.0-SNAPSHOT that are deployed nightly)

这篇关于以超级开发模式运行GWT应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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