I've seen that changing a source java file that contains GWT code(i.e. creating buttons, labels), gets reloaded automatically when I hit browser refresh.

I'm doing a multi-module maven project with these modules:

  • client
  • shared
  • server

but the GWT code reloading feature only works in a single-module project. Which config files tell GWT where to reload it's sources from? How do I configure this feature in a multi-module maven project?

Thanks

有帮助吗?

解决方案

GWT loads files (java, ui.xml, css, etc.) from the classpath. How to configure DevMode to automatically reload your changes depends on how you run it: GPE or mvn gwt:run.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top