使用Eclipse进行GWT代码验证 [英] GWT Code Validation with Eclipse

查看:64
本文介绍了使用Eclipse进行GWT代码验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开GWT项目时,它将始终验证GWT Java代码(.java.ui.xml),我的项目的代码很大,因此完成验证需要很长时间.如何控制此验证过程,以免每次打开项目时都无法验证所有内容?

When I open my GWT project it always validates GWT Java code (.java and .ui.xml), my project is quite large in code so it takes very long time for the validation to complete. How do I control this validation process, so I won't validate everything every time I open my project?

从eclipse控制台中,我可以看到验证时间最长的是那些ui.xml代码,例如:

From the eclipse console I can see that the longest time to validate are those ui.xml codes like:

MYPROJECT/src/main/webapp/WEB-INF/classes/com/mycompany/client/core/view/MainView.ui.xml

推荐答案

在每个ui.xml文件中,都有以下代码行.请发表评论.这样可以减少验证时间和资源.

In each of the ui.xml file there would be following line of code. Please put in comment. It wil reduce time in validation as well as fetching resources.

 <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">

这篇关于使用Eclipse进行GWT代码验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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