Re: Are servlets available when performing GWT Unit Tests?

2013-08-12 Thread ckuetbach
Hi Thomas, are there any known regressions with this way in GWT 2.5.1? I created a moduleText.gwt.xml with inherits my module.gwt.xml to add the servlet-element. If I misspell the servlet-classname, I get an error loading the module. But if everything seems to be correct, I don't get any

Are servlets available when performing GWT Unit Tests?

2011-02-01 Thread Christopher
Hi there, I'm using GWT from within STS (Eclipse) and I'm trying to test out an HTTP request to a servlet that's also part of the same project. Unfortunately the servlet does not appear to be started up (no call to init()). In addition I'm getting a 404 status. Without further ado: public

Re: Are servlets available when performing GWT Unit Tests?

2011-02-01 Thread Thomas Broyer
You can use servlets, but your web.xml isn't read, you have to declare them in your gwt.xml using a servlet / element (the old way). You'll generally create a specific gwt.xml that inherits/ the module you want to test and adds the servlet/ declarations. Have a look at GWT's own unit tests,

Re: Are servlets available when performing GWT Unit Tests?

2011-02-01 Thread Christopher Hunt
Ah ha - thanks for that. All good now. I'll raise a ticket so that the doco can be updated. -- 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