1

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
quarks
  • 33,478
  • 73
  • 290
  • 513
  • Did you try disabling validation in preferences? Check this [help](http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jst.j2ee.doc.user%2Ftopics%2Ftjvaldisable.html) provided by eclipse – Ganesh Kumar Jul 09 '12 at 03:14

1 Answers1

0

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">
PVR
  • 2,534
  • 18
  • 38
  • Can you please tell me the errors or if you can post over here it would be better. – PVR Jul 09 '12 at 13:09
  • As I remember the exact error, Eclipse is complaining, looking for that tag in the ui.xml codes – quarks Jul 10 '12 at 06:02
  • As far as I know, This should not happen unless and until if you have used any HTML codes directly in ui.xml. Please remove them and then compile it. – PVR Jul 10 '12 at 09:41