Re: Google Data Client Library (gdata) install with WebObjects
Re: Google Data Client Library (gdata) install with WebObjects
- Subject: Re: Google Data Client Library (gdata) install with WebObjects
- From: Greg Smith <email@hidden>
- Date: Tue, 13 Oct 2009 12:49:45 -0700
Thanks Chuck,
I placed the gdata folder in the Libraries folder for the app and then
added it via Configure Build Path in Eclipse. This seemed to make all
imports happy and the app worked in development. When it didn't work
in deployment I tried moving the gdata folder to a folder within
System/Libray/Java/ and changing build path. Again devel happy
deployment can't seem to find it. I also added various dependencies
to the System/Libray/Java/Extensions folder on both devel and
deployment computers.
I assume Libraries are added at compile time and need not be moved to
the deployment server so if it did not work in deployment the build
was a problem. What problem and how to fix it is a mystery. Or maybe
I have a bad assumption. Just in case I moved the gdata folder to the
server too. I also made sure all extensions were the same on both
computers.
Sorry for the addressing problem. Anyones wisdom in this area would
be greatly appreciated.
On Oct 13, 2009, at 12:00 PM, Chuck Hill wrote:
Hi Greg,
Please keep messages on the list.
On Oct 13, 2009, at 9:19 AM, Greg Smith wrote:
Thanks Chuck, you are amazing again. That worked great in
development but gave the following error in the log when deployed.
com.webobjects.foundation.NSForwardException
[java.lang.NoClassDefFoundError] com/google/gdata/client/
Query:<DirectAction> Action Named 'aAction()' raised an Exception:
java.lang.NoClassDefFoundError: com/google/gdata/client/Query
Do you know if I need change build.xml to reflect the added
library? Thanks.
What did you do with it when you removed it from /Library/Java/
Extensions? It should go in the Libraries folder in one of your
projects (the app or a common framework).
Chuck
On Sep 16, 2009, at 12:10 PM, Chuck Hill wrote:
On Sep 16, 2009, at 11:50 AM, Greg Smith wrote:
Greeting,
Has anyone installed and used gdata with WebObjects? Gdata looks
like the best option for getting google calendar data into
WebObjects. I tried to install it but no luck, WO can't find
imports. There may be some issues with gdata expecting to be use
with Tomcat. All I've tried so far is to place the 'gdata'
folder in the java extensions. If anyone has made this work I
would love hear about it. Thanks
/Library/Java/Extensions? That is pretty much guaranteed to be
the wrong location. Put it in the Libraries folder in your app /
framework.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden