I added the file Db.gwt.xml to the package de.stsch.j2ee.db of the
subproject and added a
<inherits name='de.stsch.j2ee.db.Db'/>
to the module XML file of my main application and I still get an
Compiler error:
de.stsch.j2ee.db.Employee can not be found in source packages. Check
the inheritance chain from your module; it may not be inheriting a
required module or a module may not be adding its source path entries
properly.
I am still wondering how Eclipse could resolve this dependency; do you
have any plugins installed? How can you run the GWT Compiler from
inside eclipse?
Why do even the simplest things have to be so complicated? I have a
separate project and would like to add the contained resources as a
client resource to GWT so that they get compiled into Javascript...
If it works for you, can you please explain (maybe step by step) what
you did and how your project structure looks like?
-Steffen-
On 29 Mrz., 20:00, Ian Bambury <
ianbamb...@gmail.com> wrote:
> 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 <
stsc...@schliwinski.de>