当我打开我的GWT项目时,它总是验证GWT Java代码( .java和.ui.xml ),我的项目代码非常大,因此验证完成需要很长时间。 如何控制此验证过程,因此每次打开项目时都不会验证所有内容?
从eclipse控制台我可以看到验证的最长时间是那些ui.xml代码,如:
MYPROJECT/src/main/webapp/WEB-INF/classes/com/mycompany/client/core/view/MainView.ui.xmlWhen 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">更多推荐
发布评论