Closed mtmmtm9 closed 8 years ago
You have to run mvn package
or at a minimum mvn war:exploded
before you can run mvn gwt:devmode
. See the note at the bottom of https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
You can pass -Dgwt.skipCompilation=true
to skip the GWT compilation and thus speed up that preparatory step (give that the *.nocache.js
will be overwritten by mvn gwt:devmode
anyway).
The READMEs need to be updated for the samples.
Ok, thanks, that solved the issue. Maybe the plugin could do that automatically ?
FWIW, changes to the README files are up for review at https://gwt-review.googlesource.com/16800
Maybe the plugin could do that automatically ?
If it was that easy…
war:exploded
on a specific subproject; Maven does not make it easy to do that within pluginsgwt:devmode
, but rather run your own servlet container and use gwt:codeserver
, where "running your own servlet container" would take care of that (appengine:devserver
, jetty:run
, tomcat7:run
and the like), so I'm not going to invest time adding such a feature to the plugin anyway.
when running "mvn gwt:devmode" from gwt-2.8.0-rc1\samples\DynaTableRf and launching my browser at: http://127.0.0.1:8888/DynaTableRf.html I sometimes (90%) get "not found" when the browser accesses DynaTableRf.html.
codeserver starts with these args: 00:00:00.002 [INFO] Running CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.8, -bindAddress, 127.0.0.1, -workDir, C:\gwt-2.8.0-rc1\samples\DynaTableRf\target\gwt\devmode\work, -launcherDir, C:\gwt-2.8.0-rc1\samples\DynaTableRf\target\DynaTableRf-1.0-SNAPSHOT, -logLevel, INFO, -style, OBFUSCATED, com.google.gwt.sample.dynatablerf.DynaTableRf]
The file DynaTableRf.html is only present in src\main\webapp.