If you are talking about the gwt-opensocial hosted at http://gwt-google-apis.googlecode.com/svn/changes/haeberling/opensocial-initial
Then you also need to inherit com.google.gwt.opensocial.OpenSocial in your GWT module. Keep in mind that this is a pre-release version of the code. On Tue, Mar 10, 2009 at 5:51 PM, Arto <[email protected]> wrote: > > Hi, > I'm getting problem when trying to use opensocial > I created gadget with GWT using <inherits > name='com.google.gwt.gadgets.Gadgets' /> and it works, but as far as I > add implements NeedsOpenSocial and public void initializeFeature > (OpenSocialFeature feature){ } empty method the compilation fails.. > here is output: > ------------------------------------------------------- > a...@arto-laptop:~/workspace/HelloGadget$ ./HelloGadget-compile > Removing units with errors > [ERROR] Errors in 'file:/home/arto/workspace/HelloGadget/src/com/ > agiletwo/gadget/gwt/client/HelloGadget.java' > [ERROR] Line 30: No source code is available for type > com.google.gwt.opensocial.client.NeedsOpenSocial; did you forget to > inherit a required module? > [ERROR] Line 31: No source code is available for type > com.google.gwt.opensocial.client.OpenSocialFeature; did you forget to > inherit a required module? > Compiling module com.agiletwo.gadget.gwt.HelloGadget > Computing all possible rebind results for > 'com.agiletwo.gadget.gwt.client.HelloGadget' > Rebinding com.agiletwo.gadget.gwt.client.HelloGadget > Checking rule <generate-with > class='com.google.gwt.gadgets.rebind.UserPreferencesGenerator'/> > [ERROR] Unable to find type > 'com.agiletwo.gadget.gwt.client.HelloGadget' > [ERROR] Hint: Previous compiler errors may have made this > type unavailable > [ERROR] Hint: Check the inheritance chain from your > module; it may not be inheriting a required module or a module may not > be adding its source path entries properly > [ERROR] Build failed > -------------------------------------------------------- > i builded gwt-opensocial.jar by checking out source from svn and > running ANT > Please tell me how can I fix the issue > > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
