Skip to content

Commit 3fe880e

Browse files
authored
update instructions (#598)
1 parent 4b1f4b8 commit 3fe880e

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

samples/dailymotion-simple-cmdline-sample/instructions.html

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,51 +14,47 @@ <h3>Browse Online</h3>
1414

1515
<h3>Checkout Instructions</h3>
1616

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
2019
your <code>JAVA_HOME</code>.</p>
2120

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>
2625

27-
<h3>Setup Project in Eclipse 3.5/3.6</h3>
26+
<h3>Setup Project in Eclipse</h3>
2827

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>
3330

3431
<ul>
3532
<li>Setup Eclipse Preferences
3633
<ul>
3734
<li>Window &gt; Preferences... (or on Mac, Eclipse &gt; Preferences...)</li>
3835
<li>Select Maven
3936
<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>
4239
</ul>
4340
</li>
4441
</ul>
4542
</li>
4643
<li>Import <code>dailymotion-simple-cmdline-sample</code> project
4744
<ul>
4845
<li>File &gt; Import...</li>
49-
<li>Select "General &gt; Existing Project into Workspace" and click
46+
<li>Select "Maven &gt; Existing Maven Project" and click
5047
"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>
5350
<li>Click "Finish"</li>
5451
</ul>
5552
</li>
5653
<li>Run
5754
<ul>
5855
<li>Right-click on project dailymotion-simple-cmdline-sample</li>
5956
<li>Run As &gt; Java Application</li>
60-
<li>If asked, type "DailyMotionSample" and click OK</li>
61-
<li>To enabled logging:
57+
<li>To enable logging:
6258
<ul>
6359
<li>Run &gt; Run Configurations...</li>
6460
<li>Click on "Java Application &gt; DailyMotionSample"</li>

0 commit comments

Comments
 (0)