No, you'll have to refactor to separate the server-side functionality.

On Wed, Mar 18, 2009 at 6:17 AM, Ice13ill <[email protected]> wrote:
>
> Is there a way to exclude imports when compiling a gwt application ?
> Let's say i want to use a class on client and server side with two
> methods: one uses gwt widgets (this is the method i want to use on the
> client side) and one uses Sockets (or smth like that... code needed on
> the server side).
> Obviously i get an error when importing java.net.Socket.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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