- Java7 (JDK)
./sbt gen-idea
./sbt eclipse
-
GWT Compile (required only first time) ./sbt gwt-compile
-
Launch web container ./sbt "~;container:start; container:reload /"
-
Launch GWT code server (super dev mode) ./sbt gwt-superdev
if you need to debug webUI remotely (e.g. using 192.168.xxx.xxx address), launch gwt-superdev with -Dgwt.expose option
./sbt gwt-superdev -Dgwt.expose
-
Visit http://localhost:9876/ and copy the bookmarklet ("Dev Mode On") appeared in the page to your bookmark bar.
-
Open http://localhost:8080/gwt, then click "Dev Mode On".
If you need to use 192.xx.xx.xx address to access GWT pages, run gwt-superdev mode with -Dgwt.expose option
./sbt gwt-superdev -Dgwt.expose
You also need to copy bookmarklet from http://192.xx.xx.xx:9876 since it becomes different from when using http://localhost:9876
$ make install
$ ./sbt test -Dloglevel=debug
$ ./sbt "~test" -Dloglevel=debug
$ ./sbt "~test-only *HelloTest" -Dloglevel=debug
$ ./sbt "~test -- -n test1" -Dloglevel=debug