I had the same issue.

First lets look at the depent project.

You must create this project as a GWT project.

You must also remove the entry point in the application.  Remember
this is a library.

Then create your jar file for this project.

On the primary project you must not set the other project as a
dependancy,

Just add the jar file as an external jar file to your project.  I
recommend that you move the jar file to the lib of your war directory.

The inherits is strange.  If you have the following project

package com.thelongsfamily.ButtonMenu.client;

then the inherits is done as below.

 <inherits name='com.thelongsfamily.ButtonMenu.ButtonMenu'/>

this took me a while to figure out also.

then in your your build path add the jar file as an external jar and
also do not forget to set the order and export area.  Mark the jar
file as an export.

This is what I did and its worked very nice.


Hope this helps.

Donald W. Long

On May 15, 3:59 pm, Tim McCormack <[email protected]> wrote:
> On May 15, 3:58 pm, John <[email protected]> wrote:
>
> > Jar Method:
> > 1. Remove any Buid Path references between your two projects.
> > 2. Build a jar file from your project that is a dependency.  Make sure
> > to check the boxes that say "Add directory entries" and "Add Java
> > Source...".
> > 3. Add this jar file to your main projects build path.
> > 4. Try to compile GWT.
>
> Thanks for the walkthrough, John, but compile still fails with the
> same errors as before:
>
> "No source code is available for type com.example.shared.Foo; did you
> forget to inherit a required module?"
>
> Maybe GWT can only see other GWT projects?
>
>  - Tim McCormack
--~--~---------~--~----~------------~-------~--~----~
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