• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Gwt Gdata using OAuth

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any suggestions?
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic