On 5 November 2010 10:54, Potate <[email protected]> wrote:
> I have a GWTTestCase that validates some GETs and POSTs to a servlet.
> The servlet starts up a little differently than the traditional
> servlets. So I can't use the builtin unit test servlet bootstrap in
> module.gwt.xml.
> It's easiest if I can run any pure java methods. When I tried this, I
> got compiler errors saying no client side code of my pure java stuff.
> Is there a way around this?

I'm not entirely clear what you're trying to do but if you have
server-side code (your pure Java stuff) then make sure it is not found
under any of the directories that GWT searches looking for client-side
source code (by default *.client). If you use <source path="..."/>
then those directories should *not* contain any server-side code
either.

See 
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to