Hi,

I have a GWT-Project currently containing modules (will be more in the
future).
To make it tidy I created a "containing" module called "Parent".
"Parent" does not have any source, its just a containing module. This
is the Parent.gwt.xml:

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='Parent'>
        <inherits name='com.google.gwt.user.User' />
        <inherits name='com.google.gwt.widgetideas.GWTCanvas'></inherits>
        <inherits name='project.Child1' />
        <inherits name='project.Child2' />
</module>

The two modules with actual code are apparently Child1 and Child2.
There .gwt.xml-Files are the following:
Child1:
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='Child1'>
        <inherits name='com.google.gwt.user.User' />
        <inherits name='com.google.gwt.widgetideas.GWTCanvas'></inherits>
        <entry-point class='project.client.Child1'></entry-point>
        <source path='client'></source>
        <source path='generics'></source>
</module>

Child2:
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='Child2'>
        <inherits name='com.google.gwt.user.User' />
        <inherits name='com.google.gwt.widgetideas.GWTCanvas'></inherits>
        <entry-point class='project.client.login.Child2' />
        <source path='client.child2'></source>
        <source path='generics'></source>
</module>


The compilation works fine but I get 3 js-folders in my war-folder. I
supposed that I just get one, as Im using a containing class. For both
modules exist a .html-file referencing to the .js-file created for it.
The problem is that when I open the Child2.html-file it tries to load
the onModuleLoad()-method of Child1! which crashes the system, as
there are divs missing. What am I doing wrong? Im stuck with this for
a week now!

Please help. Anything is appreciated!
Tom

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