I have a GWT Web Application project (call it Client, package
com.example.web) in Eclipse that needs to see some Java classes in
another project (project Common in package com.example.shared). I can
set the Eclipse project properties to include Common/bin as a "class
folder" and link the source folder Common/bin as Client/common-bin,
and Eclipse doesn't show errors.

However, when I try to run the Client project in hosted mode, GWT
spits out the message "No source code is available for type
com.example.shared.Foo; did you forget to inherit a required module?"

Shouldn't GWT be working with Eclipse's build path? Is there somewhere
else I should be including the path to the Common source?

It doesn't make sense to include com.shared.Common as an "inherits" in
the GWT module file, since it's just a regular Java library.

What is the right approach?

(Eclipse 3.4.2, Ubuntu 8.10, GWT plugin 1.6.4, Sun Java 6)

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