Re: gwt-maven-archetypes with multiple client modules
Am Donnerstag, 23. Mai 2013 13:18:47 UTC+2 schrieb Thomas Broyer: > > If you use 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. > > Oh my god, I'm so stupid.. Thanks so much! I'm really not worth the money they pay me ;) -- 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+unsubscr...@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.
Re: gwt-maven-archetypes with multiple client modules
On Thursday, May 23, 2013 12:48:50 PM UTC+2, Thomas Käfer wrote: > > 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 to > ), 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? > If you use 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. -- 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+unsubscr...@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.
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 to ), 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 -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+unsubscr...@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.
Re: gwt-maven-archetypes with multiple client modules
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 -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+unsubscr...@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.
Re: gwt-maven-archetypes with multiple client modules
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 -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! Huge thanks again! (also for creating these archetypes) Am Mittwoch, 22. Mai 2013 12:44:04 UTC+2 schrieb Thomas Broyer: > > On Wednesday, May 22, 2013 12:09:44 PM UTC+2, Thomas Käfer wrote: >> >> 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.. >> > > Yes it is; far from ideal, but it's possible: use gwt:debug instead of > gwt:run, and then attach a debugger to the process; see > http://mojo.codehaus.org/gwt-maven-plugin/debug-mojo.html > > I've tried to create an eclipse run configuration analog to my >> single-project setups, but nothing worked so far... >> > > It should be as easy as "Debug As… → Web Application (running on an > external server)" and using http://localhost:8080/ as the "External > server root" and unchecking "Select an HTML page"; assuming you run Tomcat > with "mvn tomcat7:run" (or any other setup such that it serves both > myapp-client/target/myapp-client-1.0.0-SNAPSHOT and > myapp-server/target/myapp-server-1.0.0-SNAPSHOT in the webapp; otherwise > just go edit the launch configuration and change the -war to point to the > myapp-server/target/myapp-server-1.0.0-SNAPSHOT) > > -- 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+unsubscr...@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.
Re: gwt-maven-archetypes with multiple client modules
On Wednesday, May 22, 2013 12:09:44 PM UTC+2, Thomas Käfer wrote: > > 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.. > Yes it is; far from ideal, but it's possible: use gwt:debug instead of gwt:run, and then attach a debugger to the process; see http://mojo.codehaus.org/gwt-maven-plugin/debug-mojo.html I've tried to create an eclipse run configuration analog to my > single-project setups, but nothing worked so far... > It should be as easy as "Debug As… → Web Application (running on an external server)" and using http://localhost:8080/ as the "External server root" and unchecking "Select an HTML page"; assuming you run Tomcat with "mvn tomcat7:run" (or any other setup such that it serves both myapp-client/target/myapp-client-1.0.0-SNAPSHOT and myapp-server/target/myapp-server-1.0.0-SNAPSHOT in the webapp; otherwise just go edit the launch configuration and change the -war to point to the myapp-server/target/myapp-server-1.0.0-SNAPSHOT) -- 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+unsubscr...@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.
Re: gwt-maven-archetypes with multiple client modules
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... Am Freitag, 7. Dezember 2012 10:01:00 UTC+1 schrieb Thomas Broyer: > > > On Friday, December 7, 2012 9:45:19 AM UTC+1, kim young ill wrote: >> >> Hi there, i start using this for gwt-modular webapp, quite great, > > > Thanks > > >> 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 ? >> > > You'll have to replace the with in the gwt-maven-plugin > configuration, and add the modules as child elements. You'd > probably want to introduce another property in addition to gwt.module. > > Note that I made this dev profile only to make it easier to start up, but > I highly recommend you to launch the DevMode from your IDE. gwt:run is far > from ideal in this multi-module setup. > -- 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+unsubscr...@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.
Re: gwt-maven-archetypes with multiple client modules
On Friday, December 7, 2012 9:45:19 AM UTC+1, kim young ill wrote: > > Hi there, i start using this for gwt-modular webapp, quite great, Thanks > 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 ? > You'll have to replace the with in the gwt-maven-plugin configuration, and add the modules as child elements. You'd probably want to introduce another property in addition to gwt.module. Note that I made this dev profile only to make it easier to start up, but I highly recommend you to launch the DevMode from your IDE. gwt:run is far from ideal in this multi-module setup. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/lndV5ZfJaZUJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
gwt-maven-archetypes with multiple client modules
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 ? thanx -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.