Saturday, September 12, 2015

Re: Basic SuperDevCompiler + SuperDevModeUI Library

Using intellij GWT run configuration with Tomcat7

"C:\Program Files\Java\jdk1.7.0_65\bin\java" -Xms2048m -Xmx2048m -XX:MaxPermSize=1024m -Didea.launcher.port=7536 "-Didea.launcher.bin.path=E:\Jetbrains\IntelliJ IDEA 14.1.4\bin" -Dfile.encoding=windows-1252 -classpath "C:\Users\Ben\.m2\repository\com\google\gwt\gwt-codeserver\2.7.0\gwt-codeserver-2.7.0.jar;
..."lots of jars"...
com.intellij.rt.execution.application.AppMain com.google.gwt.dev.DevMode -superDevMode -war C:\Users\Ben\.IntelliJIdea14\system\gwt\xxx-project.e34dc554\xxx.dcb6c866\run\www -noserver -remoteUI 7903:IntelliJIdea -startupUrl http://127.0.0.1:8080/xxx nz.co.doltech.xxx

Runing CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.7, -bindAddress, 127.0.0.1, -launcherDir, C:\Users\Ben\.IntelliJIdea14\system\gwt\xxx.e34dc554\xxx.dcb6c866\run\www, -logLevel, INFO, nz.co.doltech.xxx]
Super Dev Mode starting up
   workDir: C:\Users\Ben\AppData\Local\Temp\gwt-codeserver-4027014467612992043.tmp
   Loading Java files in nz.co.doltech.xxx.
Linking modules
   Bootstrap link for command-line module 'nz.co.doltech.xxx'

On Sunday, September 13, 2015 at 1:10:30 AM UTC+12, Jens wrote:
Either launch (other parameters omitted)

DevMode -noserver -war /path/to/exploded_war

or

CodeServer -launcherDir /path/to/exploded_war

with /path/to/exploded_war being your build tool's output war directory or your GWT-Project/war folder. At work we do this for ages because we always use the exact same servlet container as we use in production. So we literally never used GWT's bundled jetty server.

What problems did you encounter? When coming from GWT 2.6 classic DevMode it should actually just work without any changes to your configuration.

-- J.

--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment