> On Oct 25, 4:49 pm, "[EMAIL PROTECTED]" wrote: > > > i've got following source structure in my project (j2ee): > > > ~/project/java: //all the common sources which gonna be compiled to ~/ > > webapp/WEB-INF/classes > > ~/project/java/c.d.e.UserProfileBean //common bean used to store the > > user profile data > > ~/project/client: //the client code which gonna be translated to > > javascript > > ~/project/client/a.b.c/MyUI.gwt.xml //module description for MyUI > > ~/project/client/a.b.c.client.MyUI //class which implements EntryPoint > > > now, when running the compiler,I get the message "No source code is > > available for type c.d.e.UserProfileBean; did you forget to inherit a > > required module?" which is referenced by MyUI class.
If you can't (or don't want) to rename/move your packages, you can also add a module (*.gwt.xml) somewhere within the "c.*" package hierarchy with the appropriate <source/> (e.g. in c.d with <source path="e" /> or in c.d.e with <source path="" />). On 27 oct, 13:30, walden <[EMAIL PROTECTED]> wrote: > > Here's a banal example of what I mean, but you can do better: > > ~/project/gwt/module1/client/pure - classes needed on client only > ~/project/gwt/module1/client/shared - classes needed on both client > and server For the record, GWT-Incubator uses the following convention: - .../client - .../shared - .../server --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
