且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Eclipse进行GWT开发

更新时间:2023-11-05 23:20:28

如果要查看客户端代码中的更改,请在浏览器中单击刷新"按钮.

If you want to see your changes in client code, hit the refresh button in your browser.

如果需要调试功能,请使用Debug As => Web Application.取决于浏览器,启动可能会慢一些(或很多).

If you need debug functions, use Debug As => Web Application. It may be a little (or a lot) slower to start depending on a browser.

如果不需要调试功能,请使用运行方式=> Web应用程序".它启动更快.您仍将在开发模式"和控制台"选项卡中看到所有错误.

If you don't need debug functionality, use Run As => Web Application. It starts faster. You will still see all errors in Development Mode and Console tabs.

如果更改服务器端代码,则必须使用Eclipse中专用 Development Mode 视图的专用按钮来重新加载Web服务器.

If you make changes to server-side code, you have to reload the web server, using the dedicated button of the dedicated Development Mode view in Eclipse.

除非插件指示您执行此操作,否则您无需重新编译.

You never need to recompile unless the plugin tells you to do it.

请参见 https://developers.google.com/web-toolkit /doc/latest/DevGuideCompilingAndDebugging#DevGuideDevMode