开发者

configuring GWT devmode sources location

开发者 https://www.devze.com 2023-02-13 06:27 出处:网络
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'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-m开发者_JS百科odule 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消