{"id":136,"date":"2006-07-15T12:58:58","date_gmt":"2006-07-15T17:58:58","guid":{"rendered":"http:\/\/www.juixe.com\/techknow\/index.php\/2006\/07\/15\/generate-pretty-gwt-javascript\/"},"modified":"2006-07-15T12:58:58","modified_gmt":"2006-07-15T17:58:58","slug":"generate-pretty-gwt-javascript","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2006\/07\/15\/generate-pretty-gwt-javascript\/","title":{"rendered":"Generate Pretty GWT JavaScript"},"content":{"rendered":"<p>If you are just starting out with the Google Web Toolkit you may have already noticed that GWT generates obfuscated javascript code in those <b>cache.html<\/b> 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 <b>com.google.gwt.dev.GWTCompiler<\/b> add the following option:<\/p>\n<pre>\n-style PRETTY\n<\/pre>\n<p>Instead of PRETTY you can also use DETAILED or the default OBF.<\/p>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/gwt\" rel=\"tag\">gwt<\/a>, <a href=\"http:\/\/technorati.com\/tag\/google+web+toolkit\" rel=\"tag\"> google web toolkit<\/a>, <a href=\"http:\/\/technorati.com\/tag\/web+toolkit\" rel=\"tag\"> web toolkit<\/a>, <a href=\"http:\/\/technorati.com\/tag\/ajax\" rel=\"tag\"> ajax<\/a>, <a href=\"http:\/\/technorati.com\/tag\/javascript\" rel=\"tag\"> javascript<\/a>, <a href=\"http:\/\/technorati.com\/tag\/obfuscated\" rel=\"tag\"> obfuscated<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[16,3],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-2c","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/136"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":0,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}