Re: gwt-maven-archetypes with multiple client modules
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 properly
The 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?
Am Mittwoch, 22. Mai 2013 14:46:53 UTC+2 schrieb Thomas Broyer:
On Wednesday, May 22, 2013 1:08:38 PM UTC+2, Thomas Käfer wrote: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.This is strange 'cause I tested it as I was replying, with a freshly created "modular-webapp" project. I had an error about test-client/target/test-client-1.0.0-SNAPSHOT not existing, but that was because I hadn't previously "mvn package" (or even run "mvn tomcat7:run"). I deleted the launch config and started again (Debug As…) and it just worked. But based on your other info I've managed to create a "Web Application" debug configuration manually, and it works!That's generally what I do, as I like to have control.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home