Hey John, The plugin doesn't (yet) have good support for the case of GWT projects depending on other GWT projects, but that's definitely on our list.
For the current workaround, please see Jason's comments on this thread: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9 Hope this helps! (and let us know if I didn't understand the problem properly) On Thu, May 14, 2009 at 12:47 PM, John <[email protected]> wrote: > > I am using GWT 1.6 with Eclipse 3.4 and the the Eclipse GWT plug-in. > My problem is that my application is running correctly in hosted mode, > but I get an error like the following when I try to compile the > project into hosted mode with the GWT plug-in(I have not tried the > command line), "[ERROR] Line 26: No source code is available for type > com.company.ibatis.model.Radio; did you forget to inherit a required > module?" > > I elected to split my application into two Eclipse projects: > 1. A data base project that contains database access code in the > package com.company.ibatis.*. There is a module without an entry > point defined at com.company.ibatis.DbPojo.gwt.xml it includes source > from the com.company.ibatis.model package. The model package contains > all of the POJOs that my GWT RPC passes between the server side and > the client side. > 2. A web server project that includes my GWT UI and GWT RPC. It > has a module with an entry point defined at > com.company.server.Server.gwt.xml, and all of my client and server > side code are in com.company.server.client and > com.company.server.server respectively. > > In summary it appears that the hosted mode server can find my source > code in the database project when the hosted mode server is launched > from the server project, but when I try to compile my server project > into web mode the GWT compiler cannot find the source in the database > project. > > I have tried modifying my java build path in Eclipse in every way I > can think of, but I suspect I haven't gotten it right yet. > > Any thoughts? > > Thanks, > John -- Alex Rudnick swe, gwt, atl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
