GWT dev mode.

20 views
Skip to first unread message

zakaria amine

unread,
Mar 29, 2017, 12:56:19 PM3/29/17
to Sigmah developement
Hello everybody, 

I have noticed that there is missing information about how to run Sigmah in dev mode in the documentation. Here some tips that I would like to share with new comers like me ;) 

One of the cool features of GWT is the ability to have your code compiled after each refresh using Dev mode. Before version 2.7 of GWT, the Dev mode was based on browser plugins, which are now not supported by modern browsers, so old versions are required. To use Sigmah in dev mode :

    - download firefox 26 from :http://ftp.mozilla.org/pub/firefox/releases/26.0/
   - download the firefox GWT plugin and install it: https://code.google.com/archive/p/google-web-toolkit/downloads
   - run the dev mode using gwt:run maven command and copy the url after the devmode window is launched
   - if you run into some NPE then refer to https://github.com/sigmah-dev/sigmah/pull/88

indianauthority97

unread,
Mar 30, 2017, 12:16:41 PM3/30/17
to Sigmah developement
Hello,

I am not using Firefox 26 or the firefox gwt plugin you specified.
I tried running the dev mode using mvn gwt:run, but after pasting the link on my browser, it shows the sigmah loading screen infinitely.
I tried this on both Eclipse or Intellij. No errors are showing on the console, but it gets stuck at the following:
00:00:12.942  [INFO] 200 - GET /sigmah/manifest (127.0.0.1) 22127 bytes

If anyone has any resolution, please let me know.

zakaria amine

unread,
Mar 31, 2017, 3:31:55 AM3/31/17
to Sigmah developement
The sigmah loading screen hides the GWT install plugin message, so if you go to the dev tools of your browser and hide the loading div using for example css "display:none" you are going to see the following message :

You cannot do without installing the plugin for GWT 2.4. Above GWT 2.6, it's possible because the super dev mode works on all browser without the need for a plugin. I suggest you read GWT documentation about that: http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html
Reply all
Reply to author
Forward
0 new messages