How to setup development mode for Eclipse GWT-Maven project?

4.6k views Asked by At

I'm using Eclipse Indigo on Win XP with Java 6. I have Maven 3.0.3 and have a GWT (2.1) project, which I have imported into Eclipse. How do I create a run configuration that will run the GWT project in develpoment mode? I tried a run configuration with these goals:

clean gwt:run

But this fails to run in debug mode, since my breakpoint immediately upon entering the "onModuleLoad" method never gets triggered.

Thanks, - Dave

2

There are 2 answers

0
Thomas Broyer On BEST ANSWER

Have you seen http://code.google.com/intl/fr-FR/eclipse/docs/faq.html#gwt_with_maven ?

Follow the "if you'really not able to use Eclipse for Java EE" steps for best experience.

0
kospiotr On

You should run it with:

gwt:debug

For more information about goals check gwt-maven-plugin.