Difference between revisions of "MW Server Tutorial"

From MMNet Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
## Get a JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
 
## Get a JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
 
## Install the JDK
 
## Install the JDK
 +
 
# Eclipse
 
# Eclipse
 
## Download eclipse from https://eclipse.org/downloads/
 
## Download eclipse from https://eclipse.org/downloads/
 
## Start eclipse and set up an initial workspace  
 
## Start eclipse and set up an initial workspace  
 +
 
# Subclipse
 
# Subclipse
 
## Point your browser to https://marketplace.eclipse.org/content/subclipse#group-external-install-button
 
## Point your browser to https://marketplace.eclipse.org/content/subclipse#group-external-install-button
 
## Drag the install button to your open eclipse window
 
## Drag the install button to your open eclipse window
 
## Follow the prompts to install
 
## Follow the prompts to install
## Change the SSH Connector
+
## Change the SSH Connector (probably not necessary unless you have Write permissions to the repository, but it doesn't hurt anything)
 
### Windows -> Preferences
 
### Windows -> Preferences
 
### Expand Team -> SVN
 
### Expand Team -> SVN
 
### Change SVN interface to SVNKit (Pure Java)
 
### Change SVN interface to SVNKit (Pure Java)
 +
 
# Set up the MekWars repository
 
# Set up the MekWars repository
 
## Open the SVN Resource Exploring perspectie (Window -> Perspective -> Open Perspective -> Other)
 
## Open the SVN Resource Exploring perspectie (Window -> Perspective -> Open Perspective -> Other)
 
## Right-click in the SVN Repositories area and choose New -> Repository Location
 
## Right-click in the SVN Repositories area and choose New -> Repository Location
## For the URL, e
+
## For the URL, enter svn://svn.code.sf.net/p/mekwars/code/trunk
 +
 
 +
# Check out the MekWars repository
  
 
# Build MekWars
 
# Build MekWars

Revision as of 08:32, 9 November 2016

How to Build a MekWars Server

Step 1: Learn to compile

This is really not an optional step. TubeAlloy taught you how to set up IntelliJ, so I'm going to teach you how to set up Eclipse.

  1. Java
    1. Get a JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
    2. Install the JDK
  1. Eclipse
    1. Download eclipse from https://eclipse.org/downloads/
    2. Start eclipse and set up an initial workspace
  1. Subclipse
    1. Point your browser to https://marketplace.eclipse.org/content/subclipse#group-external-install-button
    2. Drag the install button to your open eclipse window
    3. Follow the prompts to install
    4. Change the SSH Connector (probably not necessary unless you have Write permissions to the repository, but it doesn't hurt anything)
      1. Windows -> Preferences
      2. Expand Team -> SVN
      3. Change SVN interface to SVNKit (Pure Java)
  1. Set up the MekWars repository
    1. Open the SVN Resource Exploring perspectie (Window -> Perspective -> Open Perspective -> Other)
    2. Right-click in the SVN Repositories area and choose New -> Repository Location
    3. For the URL, enter svn://svn.code.sf.net/p/mekwars/code/trunk
  1. Check out the MekWars repository
  1. Build MekWars
    1. Check out Sourceforge SVN Repository
    2. Set project properties
    3. Compile

Step 2: Set up the initial environment

Step 3: First server start

Step 4: Logs, logs, logs

(obviously a work in progress)