Generate Pretty GWT JavaScript
If you are just starting out with the Google Web Toolkit you may have already noticed that GWT generates obfuscated javascript code in those cache.html files. If you ever want to debug the GWT auto-generated JavaScript code, or in my case learn from it, you can have GWT generate legible JavaScript code. To have GWT generate pretty JavaScript code edit the MyApplication-compile script. Right after where you read com.google.gwt.dev.GWTCompiler add the following option:
-style PRETTY
Instead of PRETTY you can also use DETAILED or the default OBF.
Technorati Tags: gwt, google web toolkit, web toolkit, ajax, javascript, obfuscated