• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic