I know that the job would be simpler if I use Google Plugin for Eclipse.
However, in my situation, I heavily adapted Maven and thus, the plugin cannot suit me. (In fact, it gave me the whole week of headache).
Rather, I relied on a ant script that I learned from http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
The document was very clear; I follow the article and successfully invoked DevMode using ant devmode. However, the document didn’t tell me about debugging GWT (like Google Plugin for Eclipse can do).
Basically, I want to add some parameter to an ant task that expose a debug port (something like (com.google.gwt.dev.DevMode at localhost:58807)) so that I can connect my eclipse to.
How can I do that?
I have successfully done this with the following ant task (the build.xml file sits in the root of the GWT project):
Then I created a “Remote Java Application” launcher that connects to that debug session with “Connection Type” set to “Standard”, “Host” set to the hostname of the machine and “Port” set to 8000.
Haven’t tested it in a while though but it did work before 🙂