
It is recommended to build this source codes with Apache-Ant, available here:

http://ant.apache.org/


ANT BUILD INSTRUCTIONS
======================

Type:

ant -projecthelp

to see most important build options. Among them:

> jar-all:
Build all source code, then clear all class files and build every required jar file to be run. 
CD to build/ directory and then use command

java -jar JurpeDemo.jar

to run the demo.

> build:
Use this target to make a complete source code build. A "build" dir will be created. Inside you will find:
  * classes: compiled classes
  * dat: all external files (gifs, xmls)
  * lib: the looks library
  * scr: source codes

> src-dist:
Build this source code distribution.

> run-jurpedemo:
Run the JURPE demo program (a roguelike adventure)



GENERIC BUILD INSTRUCTIONS
==========================

J.U.R.P.E. MUST be compiled with Java JDK6 (JDK1.6.x)

1. Make sure you have
    - jurpe.*
    - jurpedemo.*
    - name.alessiosaltarin.utils.*
   in your classpath.

2. Main executable class is jurpedemo.JurpeMain

3. In order to run the program, you must have the "dat" directory in the root
   directory (where you have "gurps" and "name" directories with class files inside).
   "dat" directory contains XML files for objects, skills, configuration and such
   
4. JURPEDEMO depends on "looks" library. The library jar is included.



JAVA JDK
========

Download latest Java 6 [jdk1.6] SDK at: \
http://java.sun.com/javase/downloads/index.jsp


MANUAL BUILD
============

If you want to manually compile source code files, remember to move 'dat' dir where the program is run:

1) copy dat\*.* classes\dat
2) javac -d classes [source files]
3) cd classed
4) java jurpedemo.JurpeDemo

