You want this in your gwt.xml file:
<source path="client"/>
<source path="shared"/>
Note that if any <source...> element appears in your gwt.xml, then the
implied client source path is not added for you - so you will need both
of the above.
Paul
Ice13ill wrote:
> Hello,
> I'm trying to use a class (let's say Contact) on both client and
> server sides (packages: com.app.client and com.app.server). For that
> purpose I created a shared package (com.app.shared) in which to put
> the Contact class. But gwt (client side) only "sees" classes in
> com.app.client package. How can I use the Contact class on client side
> for the com.app.shared package? Do I have to add a <inherits> tag in
> my .gwt.xml file ?
> Thanks.
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---