> Namely:
>  Hosted mode works fine but compiling tries to rebind twice (even
> though I only have
> one GWT.create()) and it can't create the printwriter because the
> class it is trying to write
> already exists.  I guess I need a smarter generator. (?)

This is expected behavior.  The generator gets called once per
permutation.  If the PrintWriter is null, just return the name of the
implementation class that you were tryping to create.  It works this
way because you may want to generate different code for different
user.agent values or along some other deferred-binding axis.  In this
case, you would name the implementation classes differently.

-- 
Bob Vawter
Google Web Toolkit Team

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to