FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
google-http-java-client/instructions.html at 1.8 · hellosoftcoding/google-http-java-client · GitHub
hellosoftcoding
/
google-http-java-client
Public
forked from
googleapis/google-http-java-client
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
google-http-java-client
/
instructions.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
73 lines (63 loc) · 2.15 KB
Breadcrumbs
google-http-java-client
/
instructions.html
Copy path
File metadata and controls
73 lines (63 loc) · 2.15 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<
html
>
<
title
>
Setup Instructions for the Google API Client Library for Java
</
title
>
<
body
>
<
h2
>
Setup Instructions for the Google API Client Library for Java
</
h2
>
<
h3
>
Browse Online
</
h3
>
<
ul
>
<
li
>
<
a
href
="
http://code.google.com/p/google-api-java-client/source/browse/
"
>
Browse
Source
</
a
>
</
li
>
</
ul
>
<
h3
>
Checkout Instructions
</
h3
>
<
p
>
<
b
>
Prerequisites:
</
b
>
install
<
a
href
="
http://java.com
"
>
Java 6
</
a
>
,
<
a
href
="
http://mercurial.selenic.com/
"
>
Mercurial
</
a
>
and
<
a
href
="
http://maven.apache.org/download.html
"
>
Maven
</
a
>
. You may need to set
your
<
code
>
JAVA_HOME
</
code
>
.
</
p
>
<
pre
>
<
code
>
hg clone https://google-api-java-client.googlecode.com/hg/ google-api-java-client
cd google-api-java-client
mvn install
</
code
>
</
pre
>
There are two named branches:
<
ul
>
<
li
>
The "default" branch has the stable 1.4 library. This is the default
branch that is checked out with the instructions above.
</
li
>
<
li
>
The "dev" branch has the development 1.5 library. To switch to this
branch, run:
<
pre
>
<
code
>
hg update dev
mvn clean install
</
code
>
</
pre
>
</
li
>
</
ul
>
<
h3
>
Setup Project in Eclipse 3.5
</
h3
>
<
p
>
<
b
>
Prerequisites:
</
b
>
install
<
a
href
="
http://www.eclipse.org/downloads/
"
>
Eclipse
</
a
>
,
the
<
a
href
="
http://javaforge.com/project/HGE
"
>
Mercurial plugin
</
a
>
, the
<
a
href
="
http://m2eclipse.sonatype.org/installing-m2eclipse.html
"
>
Maven
plugin
</
a
>
, and the
<
a
href
="
http://developer.android.com/sdk/eclipse-adt.html#installing
"
>
Android
plugin
</
a
>
.
</
p
>
<
ul
>
<
li
>
Setup Eclipse Preferences
<
ul
>
<
li
>
Window > Preferences... (or on Mac, Eclipse > Preferences...)
</
li
>
<
li
>
Select Maven
<
ul
>
<
li
>
check on "Download Artifact Sources"
</
li
>
<
li
>
check on "Download Artifact JavaDoc"
</
li
>
</
ul
>
</
li
>
<
li
>
Select Android
<
ul
>
<
li
>
setup SDK location
</
li
>
</
ul
>
</
li
>
</
ul
>
</
li
>
<
li
>
Import projects
<
ul
>
<
li
>
File > Import...
</
li
>
<
li
>
Select "General > Existing Project into Workspace" and click
"Next"
</
li
>
<
li
>
Click "Browse" next to "Select root directory", find
<
code
>
<
i
>
[someDirectory]
</
i
>
/google-api-java-client
</
code
>
and click OK
</
li
>
<
li
>
Click "Next" and "Finish"
</
li
>
</
ul
>
</
li
>
</
ul
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL