Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions.html #387

Merged
merged 1 commit into from
Mar 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>