IntroductionThis page demonstrates how to create a new Google Data template of your choice in a few steps using the Google Data plug-in. Steps to create a new Google Data TemplateFor demonstration purpose, we will create a new Google Documents template which uses the Google Documents List Data API. - Step 1: Go to File --> New --> Others
- Step 2: A new project wizard will open up. Scroll until you find a folder named 'Google Data'. Expand it and click on 'Google Data Project' and then click next.
- Step 3: A Google Data Project wizard page will open up which will ask for some information to create a new Google Data Project.
- Step 4: We will now enter appropriate information.
- Enter a valid project name. Say: My Document Project
- Select the 'Documents' template from the template list. You can see a corresponding description of the selected template next to the template list.
- Now, click on the 'Browse' button to select a directory containing the GData Java Client Lib files i.e. something like .../gdata/java/lib
- Now, since the description says that the 'Documents' template will require external dependencies, we need to select either the 'Download dependencies to' option or the 'Select Location' option. If you do not have the required dependencies on your system, you can select to download them.
- Step 5: After filling in the required information, click on 'Finish' button.
- Step 6: A new Java project is created in the workspace with the project name you provided. The Documents template named 'Documents.java' will be opened for editing. It will have instructions on how to execute it. All the required dependencies are referenced as 'Referenced Libraries'. If you are a new Eclipse user, click here to know how to set the execution arguments.
|
in step 2 when I click next an error message occurs : "The selected wizard could not be started.
"Please file it as an issue with details of the problem, OS and Eclipse version. We'll carry it forward from there.
I use ubuntu 9.04 and eclipse 3.2.2 eclipse works fine and i'm trying to install the google data plug-in following your instruction. but after restart eclipse there isn't "google data" folder in "new->other" menu. what is the problem? can you help me? there is a screenshoot
thank you.
This plug-in requires Eclipse v3.3 or above. The requirements are listed on the Installation wiki.
Please, i need help. When i tried to execute the class, i had the follow error message:
Thanks for help
A gdata dependency on two jars found in the "deps" folder of the java gdata download was introduced a month or two ago. Add these two jars to your classpath and you will be good to go. The particular Maps class you are looking for is found in the google-collect-1.0-rc1 jar, which is one of those two dependencies.
Cheers.
Hi,
Exception in thread "main" java.lang.NoClassDefFoundError?: com/google/common/collect/Maps
This is My Classpath: (both UserVariables? and System Variables are set)
I tried giving the Classpath till the Jars as below: %JAVA_HOME%\lib;D:\GDataApp\gdata-samples.java-1.39.0\gdata\java\deps;D:\GDataApp\gdata-samples.java-1.39.0\gdata\java\deps\jsr305.jar;D:\GDataApp\gdata-samples.java-1.39.0\gdata\java\deps\google-collect-1.0-rc1.jar;.;
I also tried copying the google-collect-1.0-rc1.jar and jsr305.jar onto my External Jars Location(which we give at the time of creating the Project). Even then also i got the same problem.
Could you please suggest me some solution for this?
Thanks in advance, Ravindanath Y