Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run a GWT app from gwt-maven-plugin without any browser plugins?

For a GWT application which I build with the GWT Maven Plugin (gwt-maven-plugin), I can run the GWT Development environment with

mvn compile war:exploded gwt:run

and then launch a browser. This requires that the browser provides the GWT Developer Plugin. (Firefox 6 for example does not yet support the GWT Plugin).

Does the GWT Maven Plugin also allow to simply run the included Jetty container with the GWT application, without a development mode?

like image 512
mjn Avatar asked Aug 31 '11 16:08

mjn


1 Answers

After configuring gwt-maven plugin you could simply run the following.

mvn jetty:run-war

After gwt compilation the resulting war will be placed in jetty and started via Maven Jetty Plugin.

like image 55
Dmitry Buzdin Avatar answered Oct 26 '22 23:10

Dmitry Buzdin