Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Gwt Gdata using OAuth

 
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?
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!