Hi there, i start using this for gwt-modular webapp, quite great,
but now i put a second gwt-module in the client package, how to configure the pom file so that both are avail. in -Ddev ?
how to launch the DevMode from within eclipse on a setup with seperate client & server project like your maven-archetype "modular-webapp", without using maven?I'm trying to find this already for a few weeks, but I did not find a solution yet.Problem with the maven gwt:run launch is, that the client-side code isn't debug-able that way --> only server-side with the tomcat7-run can be debugged that way..
I've tried to create an eclipse run configuration analog to my single-project setups, but nothing worked so far...
Thanks for your reply, and thanks for the info! Have a working debug-able environment now!With this "Debug As… → Web Application (running on an external server)" on the client project, I get the error "Could not find any host-pages in project <name>-client"
My setup is generated by your maven archetype "modular-webapp" and nearly no changes, only played around with debug configurations and maven a little bit.
But based on your other info I've managed to create a "Web Application" debug configuration manually, and it works!
[INFO] Compiling module group.id.client.App
[INFO] Finding entry point classes
[INFO] [ERROR] Unable to find type 'group.id.client.App'
[INFO] [ERROR] Hint: Previous compiler errors may have made this type unavailable
[INFO] [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
Okey! So you've helped me make a huge step forward yesterday, thanks for that Thomas!Now I've got a new problem I can't find my way around: I've tried to move the App.java & App*.gwt.xml into from the package "group.id" into the package "group.id.client" package, and adapted the references within the pom.xml and gwt.xml files (and also in gwt.xml change <source path="" /> to <source path="client" /> ), but when I try to do a maven build it always fails:[INFO] Compiling module group.id.client.App
[INFO] Finding entry point classes
[INFO] [ERROR] Unable to find type 'group.id.client.App'
[INFO] [ERROR] Hint: Previous compiler errors may have made this type unavailable
[INFO] [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properlyThe step "Finding entry point classes" takes quite long, around 5 seconds before the failure shows..When I undo the move and restore the references to group.id.App it works again as expected.Do you have an idea, what could cause that? Have I missed something that needs adapting when moving the module & entrypoint?
If you use <source path="client"/> then the gwt.xml has to be in group.id, otherwise only group.id.client.client.* classes are in the source path. group.id.client.App is not an thus cannot be found.