1. Create new package named com.google.gwt.test.application.general
2. add new item into Application.gwt.xml like
     <source path="general"/>

3. create new classes in com.google.gwt.test.application.general and
make sure them to implement Serializable and have a default
constructor. So you can use them in client and server.


Jim
http://www.gwtorm.com - GWT ORM
http://code.google.com/p/dreamsource-orm

On May 22, 4:51 am, Markus Obdenbusch <markusobdenbu...@web.de> wrote:
> Hi,
>
> I have got a problem with sharing a class which I implemented in the
> GWT Projekt itself.
> My structure is like this:
>
> com.google.gwt.test.Application
>     - Applicateion.gwt.xml
> com.google.gwt.test.Application.client
> com.google.gwt.test.Application.server
>
> I implemented a class named "OwnMarker.java". I woud like to use this
> class in both parts (client and server). Best would be to put it in
> the "general" package containing the gwt.xml. I think I have to build
> a new gwt.xml for my class? Can anyone tell me what to put in or in
> how far adapting the inherits or entry points of the other files.
>
> best regards,
>
> Markus
--~--~---------~--~----~------------~-------~--~----~
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to