Tuesday, March 22, 2016

Re: SuperDevMode

On Monday, March 21, 2016 at 11:21:21 PM UTC+1, Jim Douglas wrote:
Hmm, that sounded like there might be a hint in there somewhere. :-)

> You could also create a launch configuration for the SuperDevMode code server directly because DevMode -noserver is the same as starting the main class CodeServer

What does that mean in Eclipse, Jens?  This is what I have for the DevMode "Program Arguments":

-noserver -superDevMode -startupUrl http://localhost:8888/apps/default -war "${workspace_loc:/BBj/war}" -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -codeServerPort 9997 -bindAddress com.basis.bbj.web.gwt.EnglishOnly

Main class: com.google.gwt.dev.codeserver.CodeServer
Program arguments (taken right from your first post, just replaced launcherDir's value with variable):
-noprecompile -port 9876 -sourceLevel 1.8 -bindAddress -launcherDir "${workspace_loc:/BBj/war}" -logLevel INFO -style OBFUSCATED com.basis.bbj.web.gwt.EnglishOnly

You'd lose the "open in browser" shortcut (from DevMode's -startupUrl) but should otherwise work just as well.

(note: applies to both 2.7 and 2.8)

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment