Compiling from Source: Difference between revisions
Jump to navigation
Jump to search
imported>Bumcheekcity m Created page with 'To contribute to the Mafia project, you'll need to be able to install the Java Development Kit, connect to the SVN and be comfortable writing Java Code. Instructions for the firs…' |
imported>Matt.chugg m Fixed typo |
||
Line 5: | Line 5: | ||
# Download and install Tortoise SVN (or of course, another SVN program), available here: http://tortoisesvn.tigris.org/ | # Download and install Tortoise SVN (or of course, another SVN program), available here: http://tortoisesvn.tigris.org/ | ||
# Download and install WinAnt, available here: http://code.google.com/p/winant/ | # Download and install WinAnt, available here: http://code.google.com/p/winant/ | ||
# Connect to the SVN server and download the source code for the Mafia Project. Using Tortoise | # Connect to the SVN server and download the source code for the Mafia Project. Using Tortoise SVN, you have to right-click on your desktop, select "SVN Checkout", and put the URL of the repository as "https://kolmafia.svn.sourceforge.net/svnroot/kolmafia". Leave all other settings as they are, and click OK. | ||
# Copy C:/Program Files/WinAnt/bin/ant.bat to your Desktop/kolmafia/ folder. If you have set up WinAnt correctly (and it's hard not to - there aren't many options) then double clicking on this file should compile the program. | # Copy C:/Program Files/WinAnt/bin/ant.bat to your Desktop/kolmafia/ folder. If you have set up WinAnt correctly (and it's hard not to - there aren't many options) then double clicking on this file should compile the program. | ||
# Compiling creates a "build" and "dist" folder. The end program is in dist/Kolmafia.jar. | # Compiling creates a "build" and "dist" folder. The end program is in dist/Kolmafia.jar. |
Revision as of 08:46, 30 August 2009
To contribute to the Mafia project, you'll need to be able to install the Java Development Kit, connect to the SVN and be comfortable writing Java Code. Instructions for the first two are included below:
Windows
- Download and install the Java Development Kit, available here: http://java.sun.com/javase/downloads/index.jsp
- Download and install Tortoise SVN (or of course, another SVN program), available here: http://tortoisesvn.tigris.org/
- Download and install WinAnt, available here: http://code.google.com/p/winant/
- Connect to the SVN server and download the source code for the Mafia Project. Using Tortoise SVN, you have to right-click on your desktop, select "SVN Checkout", and put the URL of the repository as "https://kolmafia.svn.sourceforge.net/svnroot/kolmafia". Leave all other settings as they are, and click OK.
- Copy C:/Program Files/WinAnt/bin/ant.bat to your Desktop/kolmafia/ folder. If you have set up WinAnt correctly (and it's hard not to - there aren't many options) then double clicking on this file should compile the program.
- Compiling creates a "build" and "dist" folder. The end program is in dist/Kolmafia.jar.