简体   繁体   English

在Eclipse Oxygen上运行GWT

[英]Running GWT on Eclipse Oxygen

I am working on a client's request to make a simple widget in GWT. 我正在应客户的要求在GWT中制作一个简单的小部件。 I am just tyring to setup the environment with Eclipse Oxygen and the GWT plugn in Eclipse's Market. 我只是想用Eclipse Oxygen和Eclipse Market中插入的GWT设置环境。 When I run wizard project (Debug as -> GWT development mode). 当我运行向导项目时(调试为-> GWT开发模式)。 I get this : "put dev on / dev off buttons in bookmark bar and when on module press dev on" any help? 我得到这个消息:“在书签栏中打开dev on / dev off按钮,然后在模块上按dev on”有什么帮助吗?

When you use development mode you start two servers * codeserver at 9876, which is the one you are opening, it suggests to add those bookmarks and you can clean the code compilation cache * jetty dev server at 8888, which serves the static files in your webapp folder and the servlets 使用开发模式时,您将启动两个服务器*您正在打开的9876上的codeserver,它建议添加这些书签,并且您可以清理代码编译缓存* 8888上的jetty dev服务器,该服务器在您的服务器中提供静态文件webapp文件夹和servlet

So, open the 8888 server, go to the path and file you have configured your GWT bootstrapper (the html file containing your {app}.nocache.js file). 因此,打开8888服务器,转到您配置了GWT引导程序的路径和文件(包含{app} .nocache.js文件的html文件)。 If you are using a modern version of GWT it should start compiling automatically, but if not just use the 'dev on' bookmark. 如果您使用的是GWT的最新版本,它应该会自动开始编译,但如果不是,请仅使用“ dev on”书签。

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

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