This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization 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
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

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
19
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?
 
Get me the mayor's office! I need to tell him about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!