Marauroa on Eclipse: Difference between revisions
Content deleted Content added
imported>Kymara I checked out marauroa this morning on eclipse and here were the steps |
imported>Hendrik Brummermann clean up of instructions for really old versions of Eclipse |
||
| (70 intermediate revisions by 3 users not shown) | |||
Line 1:
{{Navigation for Marauroa Top|Internals}}
{{Navigation for Marauroa Developers}}
== Get Java ==
* If you can play Stendhal, you already have Java and can skip this step.
* If you do not have java installed, please download it https://java.com<br> (if you are on Linux, use your packet manager)
== Get Eclipse==
* Go to https://www.eclipse.org/downloads/
* Download: "Eclipse IDE for Java Developers"
* Unzip the download an run Eclipse
* In Eclipse, close the "Welcome" window
== Git-configuration in Eclipse ==
<pre>
* First you need to tell Git about yourself:
Window -> Preferences -> Team -> Git -> Configuration
* Click New Entry and enter
Key: user.name
Value: <your fullname or your nickname>
* Click New Entry again and enter
Key: user.email
Value: <your email address> (e. g. <your sourceforge username>@users.sourceforge.net)
</pre>
This information is stored in ~/.gitconfig (Linux) or %USERPROFILE%\.gitconfig (Windows) and will be used by Git to identify who did change the history of the repository.
=== Get Code ===
<pre>
* File -> Import... -> Git -> Projects from Git -> Next
* Clone...
URI: ssh://USERNAME@arianne.git.sourceforge.net/gitroot/arianne/marauroa.git
(changing USERNAME to your own source forge username)
User: <your sourceforge username>
Password: <your sourceforge password>
Store in Secure Store: Select that if you want
* If you have trouble at this stage try restarting eclipse and try again
* Select all branches if not already selected (fast anyway) -> Next
Initial branch: master
Remote name: origin
(should already be inserted)
* Let it import everything
* Select the repository you just cloned -> Next
* Wizard for project import: Use the New Projects wizard -> Finish
* New Project wizard will open
* Select Java -> Java Project -> Next
* Give it a name (marauroa will do)
* The other defaults are okay
* Finish
</pre>
While perferforming the ssh connect you will be asked to accept the fingerprint of the server. Please validate that against the [https://sourceforge.net/apps/trac/sourceforge/wiki/SSH%20key%20fingerprints Sourceforge Fingerprint Listing]
== Trouble Shooting ==
menu Windows | Preferences | Java | Installed JREs
* there should be at least one entry with a valid JAVA_HOME path
== See also ==
[[Stendhal on Eclipse]]<br/>
[[Arianne Source Code Repositories]]
[[Category:Marauroa]]
{{#breadcrumbs: [[Marauroa]] | [[Navigation for Marauroa Developers|Internals]] | [[Marauroa on Eclipse|Marauroa on Eclipse]] }}
| |||