How to run GWT in production mode
eclipse, gwt, java
Solution
If you are running in GWT development mode after the compile
remove the parameter `gwt.codesvr=127.0.0.1:9997` in the url given by eclipse
After you compile the code the whole gwt code will convert in to `javascript` so you can access like an normal `HTML` page with proper paths .
Problem
I am trying to run GWT project in production mode, as per the instructions at https://developers.google.com/web-toolkit/usingeclipse. So my project `foo` is located as a folder `foo` in my desktop under th `workspace` folder. When I right click on the `foo` project in the Project Explorer, click `Google` - `GWT Compile`, I see some message like `permutations 1, 2..` etc in the debugging console, after which it says that compilation is complete. However, contrary to what the Google page says, no additional `HTML`/`Javascript` files are generated in the `war` folder. Also, if I enter `foo/war/foo.html` in the URL bar, I am getting a timed-out error (even though the page contains only a simple `alert` call). Can anyone tell me what is going on here?