Вопрос

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