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!

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.


Reply via email to