Launch in SuperDevMode

I tried SuperDevMode , however, when the URL: http://localhost:9876/ is available

and Dev Mode On , I get the following:

 Can't find any GWT Modules on this page. 

What can i skip? I already did

 $mvn gwt:compile $mvn gwt:run-codeserver 

I have these versions in POM:

  <gwt.version>2.5.0</gwt.version> <gwt.maven.version>2.5.0</gwt.maven.version> 

Do I need to upgrade the version of GWT or the version of GWT Maven? Or what am I missing?

+6
source share
2 answers

Idea when launching SuperDevMode:

  • Run mvn gwt: run-codeserver
  • Launch the application web container, Tomcat / Wildfly or GAE (in GAE its just mvn appengine: devserver)

First, it starts the GWT code server, which is responsible for compiling the application from the bookmarklet. Secondly, you need to start the web container, because the application has already been compiled, so it can be launched directly from within the web container.

+4
source

As explained on the page, “Dev Mode On” and “Dev Mode Off” should be added as bookmarks to your browser. You will then use the bookmark when you visit your GWT application to start a Super Dev session.

I wrote some time ago about how Super Dev mode works ; hope this should clarify things for you.

Update: note that with GWT 2.7, super devodem is enabled by default in devmode, so you just run DevMode “as usual”, and in fact it uses SuperDevMode under the hood, with a “load compilation” so that you no longer use bookmarklets The "compile at boot" key can also be enabled using CodeServer using the -launcherDir argument (specify it in your military folder). Note that in both cases *.nocache.js will be overwritten using a script specially developed for SuperDevMode, containing the hook "compile at boot"; so make sure you clean and recompile before deploying.To return to the "classic" DevMode in GWT 2.7, pass -nosuperDevMode to DevMode.

+9
source

Source: https://habr.com/ru/post/949959/


All Articles