HowToGetLatestStendhal: Difference between revisions
imported>Hendrik Brummermann No edit summary |
imported>Hendrik Brummermann |
||
| (57 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
=Precompiled JAR files= |
=Precompiled JAR files= |
||
You can download the latest ''stable'' version at the |
You can download the latest ''stable'' version, {{version}} at the downloads page, http://arianne.sourceforge.net/?arianne_url=games/game_stendhal#downloads You can also use Git, but that code is actively developed and may be unstable. If you use the Git version, you must also [[HowToBuildStendhal|compile]] the files, and create the JAR files. |
||
=Java Webstart= |
=Java Webstart= |
||
| Line 6: | Line 6: | ||
==Stendhal Webstart== |
==Stendhal Webstart== |
||
All you have to do is goto the main stendhal page at http://arianne.sourceforge.net/?arianne_url=games/game_stendhal and click on the "Play" image. |
|||
= Source Code Via Git = |
|||
=About CVS= |
|||
CVS (Concurrent Versions System) is a tool used by many software developers to manage changes within their source code tree. CVS provides the means to store not only the current version of a piece of source code, but a record of all changes (and who made those changes) that have occurred to that source code. Use of CVS is particularly common on projects with multiple developers, since CVS ensures changes made by one developer are not accidentally removed when another developer posts their changes to the source tree. |
|||
| ⚫ | |||
In order to access a CVS repository, you must install a special piece of software called a CVS client. CVS clients are available for most any operating system. Information about CVS client software may be found in our document titled, "Recommended User Software Configuration". |
|||
To download the latest Stendhal source code with read-only access use the following command from a terminal or command line: |
|||
| ⚫ | |||
This project's SourceForge.net CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. The module you wish to check out must be specified as the modulename. When prompted for a password for anonymous, simply press the Enter key. To determine the names of the modules created by this project, you may examine their CVS repository via the provided web-based CVS repository viewer. |
|||
To login into the server: |
|||
<pre> |
<pre> |
||
git clone git://git.code.sf.net/p/arianne/stendhal |
|||
</pre> |
</pre> |
||
This will download the entire remote source code and create a local repository. To update the local repo at any time the <span style="color:red">git fetch</span>, <span style="color:red;">git merge</span>, or <span style="color:red;">git rebase</span> commands can be used. Each uses a different method for adding changes locally. It is advised to read up on the differences. |
|||
== Privileged Git Access == |
|||
To "checkout" stendhal: |
|||
<pre> |
|||
cvs -z3 -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne co -P stendhal |
|||
</pre> |
|||
Sourceforge accounts with read/write privileges to the Arianne Git repositories can use their Sourceforge username and password to gain access via SSH: |
|||
And marauroa: |
|||
<pre> |
<pre> |
||
git clone ssh://username@git.code.sf.net/p/arianne/stendhal |
|||
or |
|||
git clone https://username@git.code.sf.net/p/arianne/stendhal |
|||
</pre> |
</pre> |
||
You will be prompted for your SF password afterward. To commit changes use the <span style="color:red;">git commit</span> command and <span style="color:red;">git push</span> to push changes to the remote master repository. If the local repository is out of sync with remote it will be required to do a synchronization prior. |
|||
Updates from within the module's directory do not need the -d parameter. |
|||
NOTE: UNIX file and directory names are case sensitive. The path to the project CVSROOT must be specified using lowercase characters (i.e. /cvsroot/arianne) |
|||
---- |
|||
[[Stendhal | Back to stendhal main wiki page]] |
|||
Latest revision as of 21:53, 29 May 2016
Precompiled JAR files
You can download the latest stable version, 1.48 at the downloads page, http://arianne.sourceforge.net/?arianne_url=games/game_stendhal#downloads You can also use Git, but that code is actively developed and may be unstable. If you use the Git version, you must also compile the files, and create the JAR files.
Java Webstart
Java Webstart is a method of loading a blah.jar file, from the web. A user clicks on that link, and java handles the content, whatever it may be.
Stendhal Webstart
All you have to do is goto the main stendhal page at http://arianne.sourceforge.net/?arianne_url=games/game_stendhal and click on the "Play" image.
Source Code Via Git
Anonymous Git Access
To download the latest Stendhal source code with read-only access use the following command from a terminal or command line:
git clone git://git.code.sf.net/p/arianne/stendhal
This will download the entire remote source code and create a local repository. To update the local repo at any time the git fetch, git merge, or git rebase commands can be used. Each uses a different method for adding changes locally. It is advised to read up on the differences.
Privileged Git Access
Sourceforge accounts with read/write privileges to the Arianne Git repositories can use their Sourceforge username and password to gain access via SSH:
git clone ssh://username@git.code.sf.net/p/arianne/stendhal or git clone https://username@git.code.sf.net/p/arianne/stendhal
You will be prompted for your SF password afterward. To commit changes use the git commit command and git push to push changes to the remote master repository. If the local repository is out of sync with remote it will be required to do a synchronization prior.