Saturday, 15 September 2012

java - How to specify com.google.gwt.dev.DevMode as the main class automatically when debug gwt code -



java - How to specify com.google.gwt.dev.DevMode as the main class automatically when debug gwt code -

when debug gwt application code using google eclipse plugin via

selected gwt module->debug as->web application,

the generated debug configuration utilize com.google.gwt.dev.gwtshell main class. makes debug failed gwtshell deprecated class (gwt programme not running).

now have manually alter main class com.google.gwt.dev.devmode in "debug configurations" 1 time again , 1 time again whenever need debug.

i know how create google eclipse plugin set right main class devmode automatically.

i using eclipse j2ee 4.3.2 kepler , gwt sdk version 2.6.0.

thanks!

this happens because google plugin eclipse cannot determine version of gwt, , falls assuming it's ancient version, devmode didn't exist yet , gwtshell should used.

update gwt 2.6.1 (download sdk http://www.gwtproject.org/download.html , configure in eclipse) prepare issue.

see https://code.google.com/p/google-web-toolkit/issues/detail?id=8556

java eclipse gwt google-eclipse-plugin

No comments:

Post a Comment