GWT 1.1.0 Problem with Inheriting User Defined Source Modules

485 views
Skip to first unread message

Travis

unread,
Aug 14, 2006, 1:01:37 PM8/14/06
to Google Web Toolkit
For my project I have source code that I include in a jar file and
inherit modules form that jar into my application. So my app.gwt.xml
has these entries.

<inherits name="com.google.gwt.user.User"/>
<inherits name="edu.uiowa.uhl.gwt.Widget"/>
<inherits name="edu.uiowa.uhl.gwt.Common"/>

has two modules defined in the jar under edu.uiowa.uhl.gwt that look
like this.

Common.gwt.xml:
<module>
<source path="common"/>
</module>

Widget.gwt.xml:
<module>
<source path="widget"/>
</module>

The paths refer to packages under edu.uiowa.uhl.gwt.

This used to work under GWT-1.0.21, but I am unable to run my project
in hosted mode or compile it to web mode with GWT-1.1.0. It is now
throwing errors that it can not resolve

import edu.uiowa.uhl.gwt

I saw this in the Release notes:

Module Source and Public Paths

* In previous versions of GWT, source and public path inclusions
were based on physical directory structure; only files physically
located with the module would be included. Going forward, source and
public path inclusions are based on logical package structure. Once a
package has been included, any files in that package become visible no
matter where they are physically located.

Not sure how this relates.

Any help would be appreciated.
Travis

Rhyce

unread,
Aug 15, 2006, 4:57:43 PM8/15/06
to Google Web Toolkit
Any luck on this? I am having the exact same problem!

Travis

unread,
Aug 15, 2006, 5:13:56 PM8/15/06
to Google Web Toolkit
Yes, May answer is in this thread.

http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/87f8c2dda3006760/#

Basically check Add Directory Entries when creating your jar.

Travis

Reply all
Reply to author
Forward
0 new messages