forked from google/gdata-java-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL-samples.txt
58 lines (53 loc) · 2.62 KB
/
INSTALL-samples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Installing GData Java Client API library
========================================
Table of Contents
------------------
1. Package Contents
2. Requirements
3. Installation
PACKAGE CONTENTS:
-----------------
Google Data APIs ("GData" for short) Java client provides source code and
libraries for interacting with GData-enabled services. This package includes
1. Precompile java libraries under "gdata/java/lib".
2. Third party dependencies under "gdata/java/third_party".
3. GData-enabled service specific samples under "gdata/java/sample".
4. Ant build configuration to run the sample code.
5. Javadoc for client source under "gdata/java/doc".
REQUIREMENTS:
-------------
GData Java Client depends on following tools/platforms.
1. Java Development Kit version 5.0 or greater. Latest version of JDK
available for download from http://java.oracle.com.
2. Apache ANT version 1.7 or greater. Apache's ANT binary is available for
download from http://ant.apache.org.
Following third_party dependency libraries are required to compile/run the
samples.
1. mail.jar in Oracle's JavaMail API (version 1.4 or greater).
Oracle's JavaMail package available for download from
"http://www.oracle.com/technetwork/java/javamail/index.html". This is only
required for media specific APIs including Google Base data API,
Document List data API, Picasa Web Album API and YouTube data API.
2. activation.jar in Oracle's JavaBeans Activation Framewrok.
This is required only if using JDK version 1.5.
Oracle's JavaBeansActivationFramework is available for download from
"http://www.oracle.com/technetwork/java/javase/downloads/index-135046.html".
This is only required for media specific APIs including
Google Base data API, Document List data API, Picasa Web Album API and
YouTube data API.
3. servlet.jar in Oracle's Servlet API (version 2.3 or greater).
This is required only if executing code samples in 'sample.authsub' or
'sample.gbase.recipe' packages. Oracle's Servlet API package can be
downloaded from
"http://www.oracle.com/technetwork/java/index-jsp-135475.html".
Download above mentioned third_party jar files and save under
"gdata/java/third_party".
INSTALLATION:
-------------
1. Unpack gdata-samples.zip package to local folder.
2. Edit "gdata/java/build-samples/build.properties" file to specify location
of required third_party jar files. Also specify applicable input data
for samples.
3. To run a specific sample, execute the ant run target corresponding to the
sample. For example to execute calendar sample, run command
"ant -f build-samples.xml sample.calendar.run" from folder "gdata/java".