have you put the code of project B somewhere that project A can see it
when it is deployed?  if you put different projects on the build path
in eclipse it will compile fine but i don't think that cuts it when it
comes time to deploy.

i'm doing something similar, where i have one GWT project reusing the
code of another one in eclipse.  what i've done there is to export the
code from the first project to a jar in the lib directory of the
second project, and not put the first project on the build path of the
second.  the only pain there is if i change the code of the first
project i have to re-export to the jar, but that avoids the deploy
issue you may be running into.  and in the gwt.xml of the second
project you'll have to <inherit> the module of the first project.  in
the first project i have 2 gwt.xml files - one with an entry point and
one without.  in the second project i'm inheriting the one without the
entry point.

hopefully i'm understanding the problem correctly - just skimmed the
posts above and quickly throwing in $.02 in hope that it will help.


On Apr 16, 10:53 am, John <[email protected]> wrote:
> On Fri, Apr 16, 2010 at 11:28 AM, Brian Smith <[email protected]> wrote:
> >> Did I miss a step?
>
> > More likely my suggestion was incomplete...
> > Can you correct this using the <source> element in the module xml file?
> > I haven't been able to test I'm afraid.
>
> Don't worry about testing.  I appreciate any pointers in the right
> direction, and I'll do the testing.  When I changed my inherit
> statement,  to:
>
>  <source path='com.axxessible.testb.client.TestB'/>
>
> it compiled without error.  However, it still crashes when I try to
> run the application, even in development mode.  I think the format of
> my source statement is wrong.  I think this is covered someplace in
> the docs, so I'll look when I have time later on.
>
> John
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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