Disable JavaScript validation in Eclipse

Ever seen this gem before popup when working on a Google Web Toolkit project?

Errors running builder 'JavaScript Validator' on project 'com.your.project'.1"

Here is the trouble. Let’s say you’ve not marked your target/ directory as derived, so that the GWT Eclipse plugin can launch DevMode from there. Since Eclipse can see these files, it will try to validate that compile, minified JS that GWT created and sometimes die. You don’t want this.

So, disable JS validation on your GWT project since the GWT Compiler will take care of that validation for you. Just visit:

Window > Preferences… > JavaScript > Validator > Errors/Warnings and uncheck the box.