Hi Eric, thank you for the hint i have added inherit from
com.google.gwt.opensocial.OpenSocial and it compiles with other error:

Compiling module com.agiletwo.gadget.gwt.HelloGadget
Compiling permutations
   Analyzing permutation #1
      [ERROR] Errors in jar:file:/home/arto/apps/gwt-linux-1.5.3/gwt-
opensocial.jar!/com/google/gwt/opensocial/client/Collection.java
         [ERROR] Line 47:  missing formal parameter
      [ERROR] Errors in jar:file:/home/arto/apps/gwt-linux-1.5.3/gwt-
opensocial.jar!/com/google/gwt/opensocial/client/DataRequest.java
         [ERROR] Line 491:  Expected ":" in JSNI reference
      [ERROR] Errors in jar:file:/home/arto/apps/gwt-linux-1.5.3/gwt-
opensocial.jar!/com/google/gwt/opensocial/client/
OpenSocialFeature.java
         [ERROR] Line 284:  Expected ":" in JSNI reference
         [ERROR] Line 303:  Expected ":" in JSNI reference
         [ERROR] Line 189:  Expected ":" in JSNI reference
         [ERROR] Line 206:  Expected ":" in JSNI reference
         [ERROR] Line 237:  Expected ":" in JSNI reference
         [ERROR] Line 257:  Expected ":" in JSNI reference
         [ERROR] Line 332:  Expected ":" in JSNI reference
         [ERROR] Line 352:  Expected ":" in JSNI reference
         [ERROR] Line 164:  Expected ":" in JSNI reference
         [ERROR] Line 144:  Expected ":" in JSNI reference
      [ERROR] Cannot proceed due to previous errors
[ERROR] Build failed


It seems that it opensocial uses JavaScript keywords.. and having
problem with reference to Java generics usage like in

   public final native void send(OneArgumentFunction<DataResponse>
callback)/*-{
      var nativeCallback = function(response) {
 
[email protected]<DataResponse>::run
(Lcom/google/gwt/opensocial/client/DataResponse;)(response);
      }
      this.send(nativeCallback);
   }-*/;

can you give me an advice to deal with this problem?
Thanks

On Mar 11, 5:29 pm, Eric Ayers <[email protected]> wrote:
> Oops, there was a typo when the URL was created:
>
> http://gwt-google-apis.googlecode.com/svn/changes/haeberling/opensoci...
>
>
>
> On Wed, Mar 11, 2009 at 9:24 AM, Davide Cerbo <[email protected]> wrote:
>
> > Hi the url:
> >http://gwt-google-apis.googlecode.com/svn/changes/haeberling/opensoci...
> > return a 404 error :(
>
> > 2009/3/11 Eric Ayers <[email protected]>:
> > > If you are talking about the gwt-opensocial hosted at
>
> >http://gwt-google-apis.googlecode.com/svn/changes/haeberling/opensoci...
> > > 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/
>
> > --
> > Davide Cerbo
> > -----------
> >http://www.pronetics.it
> >http://www.sourcesense.com
> >http://www.jesty.it
> >http://jugsalerno.wordpress.com
> > -----------
>
> --
> Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to