I have multiple maven based application developed using GWT+SmartGWT.Currently i migrated to GWT 2.7 and setup Super Dev Mode for this multiple maven project and launch the SDM.But when i referesh the page compilation is not happening.Is there anythink i need to configure.Any Suggestion?
Asked
Active
Viewed 1,111 times
1
-
How are you launching SDM? Through DevMode? or CodeServer? with which parameters? – Thomas Broyer Aug 20 '15 at 09:41
-
with CodeServer only..Earlier i was using Dev mode ,jst added codeserver.jar ,codeserver class to my java application debugger – moh Aug 20 '15 at 09:44
1 Answers
5
"Compile on load" is only enabled in SDM if a -launcherDir
is passed as argument. CodeServer
will then generate a *.nocache.js
that triggers "compile on load" (but requires a running CodeServer
, so make sure you recompile your application before deploying, or use a distinct directory for SDM vs. production compilation output).
If you don't pass -launcherDir
, then you're back to the legacy (and deprecated) SDM that uses bookmarklets and sessionStorage
.

Thomas Broyer
- 64,353
- 7
- 91
- 164
-
-
Thomas still the same problem is exist.But in standalone while refreshing its compiling the apps.even i passed -launcherDir argument ,compilation is not happening.any suggestion – moh Aug 20 '15 at 12:06
-
-
-
If the `*.nocache.js` file generated by the `CodeServer` in there is not loaded by your browser, of course you won't get the "compile on load" feature. `-launcherDir` must be a directory that's served by your web server (not necessarily the one of your webapp if you use "overlays", but the generated file should be available through HTTP at the exact same place you'd expect the `*.nocache.js` file in production) – Thomas Broyer Aug 20 '15 at 14:44
-
Thanks Thomas..I am able to solve this issue..(+1)..added -launcherDir webserver path. – moh Aug 24 '15 at 09:33