@@ -14,51 +14,47 @@ <h3>Browse Online</h3>
14
14
15
15
< h3 > Checkout Instructions</ h3 >
16
16
17
- < p > < b > Prerequisites:</ b > install < a href ="https://www.java.com/en/ "> Java 7 or later</ a > , < a
18
- href ="http://mercurial.selenic.com/ "> Mercurial</ a > , and < a
19
- href ="http://maven.apache.org/download.html "> Maven</ a > . You may need to set
17
+ < p > < b > Prerequisites:</ b > install < a href ="https://www.java.com/en/ "> Java 7 or later</ a > , git,
18
+ and < a href ="http://maven.apache.org/download.html "> Maven</ a > . You may need to set
20
19
your < code > JAVA_HOME</ code > .</ p >
21
20
22
- < pre > < tt > git clone https://github.com/googleapis/google-http-java-client
23
- cd google-http-java-client-samples/dailymotion-simple-cmdline-sample
24
- mvn compile
25
- mvn -q exec:java</ tt > </ pre >
21
+ < pre > < tt > $ git clone https://github.com/googleapis/google-http-java-client
22
+ $ cd google-http-java-client-samples/dailymotion-simple-cmdline-sample
23
+ $ mvn compile
24
+ $ mvn -q exec:java</ tt > </ pre >
26
25
27
- < h3 > Setup Project in Eclipse 3.5/3.6 </ h3 >
26
+ < h3 > Setup Project in Eclipse</ h3 >
28
27
29
- < p > < b > Prerequisites:</ b > install < a href ="http://www.eclipse.org/downloads/ "> Eclipse</ a > ,
30
- the < a href ="http://javaforge.com/project/HGE "> Mercurial plugin</ a > , and the < a
31
- href ="http://m2eclipse.sonatype.org/installing-m2eclipse.html "> Maven
32
- plugin</ a > .</ p >
28
+ < p > < b > Prerequisites:</ b > install < a href ="http://www.eclipse.org/downloads/ "> Eclipse IDE</ a >
29
+ and the < a href ="https://www.eclipse.org/m2e/ "> M2Eclipse plugin</ a > .</ p >
33
30
34
31
< ul >
35
32
< li > Setup Eclipse Preferences
36
33
< ul >
37
34
< li > Window > Preferences... (or on Mac, Eclipse > Preferences...)</ li >
38
35
< li > Select Maven
39
36
< ul >
40
- < li > check on "Download Artifact Sources"</ li >
41
- < li > check on "Download Artifact JavaDoc"</ li >
37
+ < li > Check "Download Artifact Sources"</ li >
38
+ < li > Check "Download Artifact JavaDoc"</ li >
42
39
</ ul >
43
40
</ li >
44
41
</ ul >
45
42
</ li >
46
43
< li > Import < code > dailymotion-simple-cmdline-sample</ code > project
47
44
< ul >
48
45
< li > File > Import...</ li >
49
- < li > Select "General > Existing Project into Workspace " and click
46
+ < li > Select "Maven > Existing Maven Project " and click
50
47
"Next"</ li >
51
- < li > Click "Browse" next to "Select root directory", find < code > < i > [someDirectory] </ i > /google-http-java-client-samples/dailymotion-simple-cmdline-sample </ code >
52
- and click "Next" </ li >
48
+ < li > Click "Browse" next to "Select root directory", find
49
+ < code > google-http-java-client/samples/dailymotion-simple-cmdline-sample </ code > </ li >
53
50
< li > Click "Finish"</ li >
54
51
</ ul >
55
52
</ li >
56
53
< li > Run
57
54
< ul >
58
55
< li > Right-click on project dailymotion-simple-cmdline-sample</ li >
59
56
< li > Run As > Java Application</ li >
60
- < li > If asked, type "DailyMotionSample" and click OK</ li >
61
- < li > To enabled logging:
57
+ < li > To enable logging:
62
58
< ul >
63
59
< li > Run > Run Configurations...</ li >
64
60
< li > Click on "Java Application > DailyMotionSample"</ li >
0 commit comments