blob: b5e9102ebdd3b8a77cf00f2da4c0ae73b8055572 [file]
<div id="midcolumn">
<h1>Obtaining Sources</h1>
<p>You can find the sources available in <a
href="http://git.eclipse.org/c/libra/org.eclipse.libra.git/">Git
repository</a></p>
<p>In order to synchronize them locally, you may use <a
href="http://www.eclipse.org/egit/">EGit</a> step-by-step procedure:</p>
<h3>Updating/Installing EGit</h3>
<ul>
<li>Start your <b>Eclipse IDE</b> and navigate to <b>Help-&gt;Install
New Software-&gt;Add...</b></li>
<li>Enter the software site <a
href="http://download.eclipse.org/egit/updates-nightly">http://download.eclipse.org/egit/updates-nightly</a></li>
<li>Select the <b>Eclipse EGit (Incubation)</b> and <b>Eclipse
JGit (Incubation)</b> and press <b>Next</b> to finish the installation.
During the installation you will be asked to accept the License
Agreements.</li>
</ul>
<img src="/libra/images/installEGit.png">
<h3>Identifying yourself</h3>
<p>To identify yourself read these instructions<a
href="http://wiki.eclipse.org/EGit/User_Guide#Identifying_yourself">these instructions </a></p>
<h3>Setting up the Home Directory on Windows</h3>
<p>To set up the HOME directory read <a
href="http://wiki.eclipse.org/EGit/User_Guide#Setting_up_the_Home_Directory_on_Windows">these instructions</a></p>
<h3>Configuring SSH in Eclipse</h3>
<p>To configure ssh read <a
href="http://wiki.eclipse.org/EGit/User_Guide#Eclipse_SSH_Configuration">these instructions</a></p>
<h3>Clone Git Repository</h3>
<ul>
<li>Open the <b>Git Repository Exploring</b> perspektive and in
the <b>Git Repositories</b> view press the <b>Clone a Git
Repository</b> toolbar button</li>
<li>In the <b>URI</b> field of the opened <b>Clone Git
Repository</b> wizard enter the URI of the libra git repository: <a
href="git://git.eclipse.org/gitroot/libra/org.eclipse.libra.git">git://git.eclipse.org/gitroot/libra/org.eclipse.libra.git</a>
and press <b>Next</b>
<img src="/libra/images/CloneGitRepo.png">
</li>
<li>Select the added repository and from its context menu choose
<b>Import Projects...</b></li>
<li>Expand the repository tree to <b>Remote Tracking</b> level,
select the remote branch<b>origin/master</b> and from its context menu
choose <b>Create Branch...</b> to create a new local branch</li>
</ul>
<h3>Updating Sources</h3>
<p>To keep the sources up to date you have to <a href="http://wiki.eclipse.org/EGit/User_Guide#Pulling_New_Changes_from_Upstream_Branch">pull the new changes from the upstream branch</a></p>
</div>