If you run the GWT compiler from Eclipse it will work - I never use the
standalone cmd file, so I can't help there.
The de.stsch.j2ee.db.DB.gwt.xml needs to have entries so that the compiler
knows what GWT classes you are using.

I have two of these files - one to test the subproject and one when I
include it in other projects. The latter one looks like this for me

<module rename-to='RXFramework'>
    <inherits name='com.google.gwt.user.User'/>
    <inherits name='com.google.gwt.json.JSON'/>
</module>

The other one has the same plus an entry point.

Ian

http://examples.roughian.com


2009/3/29 <[email protected]>

>
> Unfortunately this didn't work. Yes, I am using Eclipse and
> db.Employee is an entity that gets filled in the backend on the server
> and that I want to introduce to the client. If I add the subproject to
> the main project via Java Build Path then Eclipse knows about this
> relationship but what if I run the GWT Compiler? It doesn't use the
> Eclipse settings.
>
> What do I need to have in de.stsch.j2ee.db.DB.gwt.xml? Just an empty
> file or any contents?
>
> -Steffen-
>
> On 29 Mrz., 19:30, Ian Bambury <[email protected]> wrote:
> > I'm assuming you are using Eclipse and that db.Employee is something you
> use
> > on the client side somehow.
> > You need a module file, say:
> >
> > de.stsch.j2ee.db.DB.gwt.xml
> >
> > In the main project's properties, in Java Build Path, under Projects,
> > include the sub-project.
> >
> > In the main project's module file, you need to inherit the subproject,
> > something like:
> >
> >     <inherits name='cde.stsch.j2ee.db.DB'/>
> > And that, as far as I remember, is it.
> >
> > If it doesn't work, let me know and I'll do it for real as opposed to
> from
> > memory.
> >
> > Cheers,
> >
> > Ian
> >
>

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