• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Gwt Gdata using OAuth

 
Marco Zanini
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all, I'm trying to use GWT to authenticate using OAuth. I'm following this example: http://code.google.com/p/gwt-examples/wiki/DemoGwtGData

The problem is that I downloaded the library gdata-samples.java-1.46.0 and extracted it, included the jar files in project's path in Eclipse but I can't import the library in my module because there's no gwt.xml file in it! Then at run time eclipse gives me an error because it cannot find the library (did you forget to inherit a module?).

How can I do?
 
Maneesh Godbole
Saloon Keeper
Posts: 11072
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Marco Zanini wrote:..but I can't import the library in my module because there's no gwt.xml file in it! Then at run time eclipse gives me an error because it cannot find the library (did you forget to inherit a module?).

The sample code gwt.xml file is here http://code.google.com/p/gwt-examples/source/browse/trunk/DemoGwtGdata/src/org/gonevertical/gdata/DemoGwtGdata.gwt.xml That one does not contain any special inherits. Maybe you are using some other module which does require an import?

 
Marco Zanini
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
Thank you!

When I run the project Eclipse gives me this errors, means that it can't find the classes.



I think the library is correctly included in the project, in fact if I don't do an import, Eclipse suggests me the right package. What can be the problem?
 
Marco Zanini
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic