Skip to content

Commit

Permalink
Update instructions.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwhisenhunt committed Dec 14, 2017
1 parent d2d73b1 commit 31b6ec7
Showing 1 changed file with 6 additions and 49 deletions.
55 changes: 6 additions & 49 deletions instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,65 +7,22 @@ <h3>Browse Online</h3>

<ul>
<li><a
href="http://code.google.com/p/google-api-java-client/source/browse/">Browse
href="https://github.com/google/google-http-java-client">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
<p><b>Prerequisites:</b> install
<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">
Java SE 8</a>,
<a href="https://git-scm.com">Git</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>git clone https://github.com/google/google-http-java-client.git
cd google-api-java-client
cd google-http-java-client
mvn install</code></pre>

There are a few named branches:
<ul>
<li>The "master" branch has the development of the next release. To switch to this
branch, run: <pre><code>git checkout master
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 &gt; Preferences... (or on Mac, Eclipse &gt; 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 &gt; Import...</li>
<li>Select "General &gt; 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>

0 comments on commit 31b6ec7

Please sign in to comment.