Explaination of including another project is included here: http://www.vogella.de/articles/GWT/article.html
On 22 Jun., 11:24, Dan Batten <[email protected]> wrote: > This might help explain things: > > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > On Jun 22, 5:10 pm, Ravi <[email protected]> wrote: > > > > > Yes i did all that.... > > then ic hecked the GWT jars( i mean how they built and the content..) > > and found that they have .java files in it. > > > I included .java(source files), and then it worked. > > Is it compulsory to have source files in such jars??? Any > > documentation which says?.... > > > RAvi > > > On Jun 22, 12:53 am, Carl Pritchett <[email protected]> wrote: > > > > The jar needs to be on both your project and launch config classpath. > > > Have you added the jar to the launch config classpath? > > > > -Carl > > > > On Jun 21, 11:35 pm, Ravi <[email protected]> wrote: > > > > > Any help ?? :( > > > > > On Jun 20, 6:15 pm, ping2ravi <[email protected]> wrote: > > > > > > Hi All, > > > > > I created one GWT(GWTCommon) project to include in another GWT project > > > > > (MyViewer) > > > > > > my package struture of GWTCommon is as follow > > > > > > com/next/common/GWTCommon.gwt.xml > > > > > com/next/common/client/GWTCommon.java > > > > > com/next/common/client/callback/DefaultAsyncCallback.java > > > > > ...and ome more files.packages in com/next/common/client/ > > > > > > Package structure of MyViewer project is as follows > > > > > com/next/viewer/MyViewer.gwt.xml > > > > > com/next/viewer/client/MyViewer.java > > > > > com/next/viewer/client/Somemorefiles.java > > > > > > content of com/next/viewer/MyViewer.gwt.xml is > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > > <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit > > > > > 1.6.4// > > > > > EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro- > > > > > source/core/src/gwt-module.dtd"> > > > > > <module rename-to='nextdataviewer'> > > > > > <inherits name='com.google.gwt.user.User'/> > > > > > <inherits name='com.next.common.GWTCommon'/> > > > > > > <inherits name='com.google.gwt.user.theme.standard.Standard'/> > > > > > <entry-point class='com.next.viewer.client.MyViewer'/> > > > > > </module> > > > > > > Everything looks ok, but when i run it, i get following exception > > > > > > [ERROR] Line 45: No source code is available for type > > > > > com.next.common.client.callback.DefaultAsyncCallback<T>; did you > > > > > forget to inherit a required module? > > > > > > I am inheriting this module as well as the jar file of GWTCommon > > > > > project is in classpath. > > > > > > Can you see, what i am doing wrong here. > > > > > please help. > > > > > > I am using Latest Google Eclipse plugin for GWT/GAE and GWT 1.6 > > > > > > Ravi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
