使用Eclipse进行GWT代码验证(GWT Code Validation with Eclipse)

编程入门 行业动态 更新时间:2024-10-27 05:37:15
使用Eclipse进行GWT代码验证(GWT Code Validation with Eclipse)

当我打开我的GWT项目时,它总是验证GWT Java代码( .java和.ui.xml ),我的项目代码非常大,因此验证完成需要很长时间。 如何控制此验证过程,因此每次打开项目时都不会验证所有内容?

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

MYPROJECT/src/main/webapp/WEB-INF/classes/com/mycompany/client/core/view/MainView.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?

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文件中都会有以下代码行。 请发表评论。 它将减少验证时间以及获取资源。

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

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">

更多推荐

本文发布于:2023-07-30 11:40:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1337888.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:代码   GWT   Eclipse   Code   Validation

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!