Thanks, Henri. I am getting closer, yet not quite there.
I clicked the “Create Hosted Mode Launch” button in the Vaadin plugin, and it created a file GWT development mode for vaadingwt20.launch.
When I run it, it brings up the Development Mode tab with nothing in the “Startup URL” area.
Then I run in debug the project (vaadingwt20) using the Tomcat Server method (previously with GWT it just ran jetty as you mentioned), it seems to start up fine, and I see the embedded browser version startup and it looks normal, using the URL http://localhost/vaadingwt20/
I found that I run FF and use the URL http://localhost/vaadingwt20/?debug this also works and shows the page and allows me to debug in Eclipse, but it has a special “Debug Window” that appears in the lower right corner. This actually seems to be entirely functional for me – sometimes having to click “Restart App” button to get the debug breakpoints working.
It makes me wonder if I even care about the GWT debugging feature if I can run in FF and still reach breakpoints in Eclipse with the ?debug option. It seems like that’s why I wanted the GWT 2 debugger because I wanted to test in FF with Firebug, but still be able to use breakpoints in the Java code.
Then I tried FF URL http://localhost/vaadingwt20/?gwt.codesvr=192.168.1.9:9997 (the gwt.codesvr part comes from the param added when I run my pure GWT 2 project). I noted that a (FF) tab appears in the GWT Development Mode window, and it shows:
00:00:00.001 [INFO]
Loading module com.example.vaadingwt20.Vaadingwt20Widgetset
but then has an exception:
00:00:00.050 [ERROR]
Failed to load module ‘com.example.vaadingwt20.Vaadingwt20Widgetset’ from user agent ‘Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7’ at DavidHP2009.home:53947
java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:309) at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.(JdtCompiler.java:147) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:465) at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:141) at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:279) at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:181) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:280) at com.google.gwt.dev.DevModeBase$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:97) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:180) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:380) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222) at java.lang.Thread.run(Unknown Source)
I made no change to the generated com/example/vaadingwt20/Vaadingwt20Widgetset.gwt.xml file (not really even sure when/how it was created) since I was just running the tutorial code that I built step-by-step and seems to otherwise work fine. It shows:
[font=Courier New]
<?xml version="1.0" encoding="UTF-8"?>
[/font]
I do see the WebContent/VAADIN folder, with with my VAADIN/themes/contracts folder that was create during the tutorial work.
There’s also VAADIN/widgetsets folders com.example.vaadingwt20.Vaadingwt20Widgetset and com.example.vaadingwt20.Vaadingwt20Widgetset-aux that appear to be built during the “Compile widgetset” phase that shows no errors:
Compiling widgetset com.example.vaadingwt20.Vaadingwt20Widgetset
Widgetset compilation completed
What might I still be missing in my setup?
Thanks for your help.