On 13 août, 14:21, Sergey Ponomarev <serg...@gmail.com> wrote: > > You'd have to start your GlassFish server (don't know how to do it > > with Maven, but you probably know) and then run (gwt:run or gwt:debug) > > using the noServer configuration > > option:http://mojo.codehaus.org/gwt-maven-plugin/run-mojo.html#noServer > > mvn gwt:debug -DnoServer=true -DrunTarget=welcomeGWT.html > It starts Jetty. Am I doing something wrong?
-Dgwt.noserver, not -DnoServer You also should use a full URI for the runTarget: -DrunTarget=http:// myserver/myhostpage.html (note that this one is *not* -Dgwt.runtarget) But, honestly, gwt-maven-plugin's gwt:run and associates are really, really "hackish" (noServer only supports running a single module, and otherwise --no noServer-- it doesn't really work when multiple modules are used either, looking for a module name in the runTarget). Some should really clean it up (Google has tweaked it but not yet open- sourced their changes), even if it means breaking compatibility and no longer supporting pre-GWT2.x (actually more likely pre-GWT1.6) projects. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.