Stendhal on Eclipse: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
added images
imported>Hendrik Brummermann
Line 22: Line 22:
In Eclipse:
In Eclipse:


* Open package explorer view.
* Open menu "File -> Import
* Select "File -> Import -> Git -> Projects from Git" and click "Next".
* In the dialog select: "Git -> Projects from Git" and click "Next".
* Select "Clone URI" and click "Next".
* Select "Clone URI" and click "Next".
* Fill in the following information:
* Fill in the following information:<br>
URI: <code>git://git.code.sf.net/p/arianne/stendhal</code>
* The result of the fields are filled in automatically, click "Next"
* On the Branch selection page, keep everything selected and click "Next"
* Under "Destination" choose the directory where you want to download the source code and select "Next".
* Eclipse will now download Stendhal from git, this may take a while
* "Import existing projects" and select "Next"


<pre>
<gallery>
Eclipse 01.png|Open File | Import
For anonymous checkout:
Eclipse 02.png|Import from Git
URI: git://git.code.sf.net/p/arianne/stendhal
Eclipse 03.png|Clone URI
For privileged checkout:
Eclipse 04.png|Fill in URI and watch the remaining fields to be filled automatically
URI: ssh://username@git.code.sf.net/p/arianne/stendhal
Eclipse 05.png|Just click "next" on branch selection

Eclipse 06.png|Just click "next" on destionation
Host: git.code.sf.net
Eclipse 07.png|Wait for the download to complete. This may take quite a while
Repository path: /p/arianne/stendhal
</gallery>
Protocol: "git" (for anonymous) or "ssh" (for privileged).
Port: Can be left blank.
Username: Only required for privileged checkout.
Password: Will be prompted for if left blank on privileged checkout.
</pre>

<li>Click "Next".</li>
<li>Check "master" and click "Next".</li>
<li>Under "Destination" choose the directory where you want to download the source code and select "Next". The other options can be left at their defaults.
<li>After cloning has finished select "Use the New Project wizard" and click "Finish".</li>
</ol>


== Configure Project ==
== Configure Project ==