Multi-Module Project +Super Dev Mode

1,148 views
Skip to first unread message

Ryan Kruse

unread,
Oct 10, 2012, 6:51:24 PM10/10/12
to codehaus-mojo-gwt-...@googlegroups.com
We have a multi-module application where only one module builds a war. The other modules are libraries of widgets and utilities.

Something like...
  • parent
    • mod-utils
    • mod-widgets
    • webapp
This has been working fine using the GWT browser plugin back to eclipse, where a browesr refresh would reattach to eclipse and recognize changes in any module. 

Now I'm trying our Super Dev Mode using mvn gwt:run-codeserver from an eclipse run config on the webapp project. The app starts up fine and I can trigger the recompiles (although they're slower than I hoped) via the browser bookmarklets and the page refreshes fine. The problem is that the fresh javascript doesn't contain my changes made in mod-utils or mod-widgets. Any tips?

Thomas Broyer

unread,
Oct 10, 2012, 7:05:29 PM10/10/12
to codehaus-mojo-gwt-...@googlegroups.com
This is a known issue (which happen to have been discussed a lot recently): https://jira.codehaus.org/browse/MGWT-332
Only workaround is to use the build-helper-maven-plugin (preferably in a profile) to add the source folders of the other modules to the classpath; or more simply create a "Java Application" launcher in Eclipse instead of relying on Maven.
Reply all
Reply to author
Forward
0 new messages