You need a gwt.xml module in the Common package, anywhere below the
code you want to include. These files don't need an EntryPoint in the
java source, they just need to be present. You can even leave the
source + classes {you MUST have source, classes aren't enough} in
their jar, just create the same base package from Common in your
Client project, add a .gwt.xml module with nothing in it {maybe
inherit ...google.user} and inherit that in the Client module.
Your com.example.web and com.example.shared approximations aren't
actually in the same package, are they?
Think of the gwt.xml module definition files as GWT's way of saying
"import com.example.*;" when the .gwt.xml is in the com.example
package. If you don't understand, just post the actual package names,
and I'll draw out a directory tree. ...Making the IDE happy doesn't
matter to GWT, as it needs it's own import rules {since you can build
with ant as well, and it has no idea what your IDE settings are}.
G'luck!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---