Source Code

From JamochaWiki
Jump to: navigation, search

The source code for JamochaMUD is available on via their CVS server. JamochaMUD development is done using the open source IDE Netbeans, though any editor will do; though any contributed patches may be modified to work in the Netbeans way.

Contents

basic CVS download

If you are not using Netbeans, you may simply download the source code with your CVS software using the command: cvs -d:pserver:anonymous@jamochamud.cvs.sourceforge.net:/cvsroot/jamochamud login


Netbeans CVS download

If you wish to work in Netbeans you should first create download the sources by navigating to (on Netbeans 6.8 as of writing): From the Team menu choose CVS and then Checkout.

In the Check-out dialogue fill in: :pserver:anonymous@jamochamud.cvs.sourceforge.net:/cvsroot/jamochamud Click Next. On the Module to check out dialogue leave both the modules and branch blank. I recommend changing the source path to something other than where your Netbeans projects are kept (such as /home/username/source). Then click Finish and the CVS check-out should begin.

Once the sources have been downloaded you will need to set-up projects for each part of JamochaMUD

Setting up the JamochaMUD projects in Netbeans

From the File menu choose New Project...

On the New Project dialogue choose Java from Categories column and then Java Project with existing sources from the Projects column. Click the Next button.

In the New Project with existing sources dialogue change the project name to JamochaMUD and click Next.

On the existing sources dialogue click Add Sources (from the Sources Packages Folder section) and then choose the JamochaMUD folder from the directory where you downloaded the sources from CVS.

Click Next. You should not need to modify the includes/excludes dialogue. Click Finish.

You will also need to repeat these steps (not the CVS download) for the extranet, gui, and utils projects which are part of JamochaMUD.


Additional Libraries

In addition to the JamochaMUD projects of JamochaMUD, extranet, gui, and utils you will also need several third-party modules:

  • JMySpell which enables spell checking using OpenOffice.org (version 2) spell-check dictionaries. The package that I currently use (for ease of install) is the source-code package jmyspell-1.0.0-beta1-src.zip which gave me the least amount of trouble to integrate into my current environment.
  • BrowserLauncher2 which enables platform independent launching of the web browser.
  • Wraplog which is used by BrowserLauncher2 for error logging
Personal tools